AdminPageFramework_Form_View___SectionCaption::_getSectionError PHP Method

_getSectionError() private method

private _getSectionError ( $aSectionset, $aFieldErrors )
    private function _getSectionError($aSectionset, $aFieldErrors)
    {
        $_sSectionID = $aSectionset['section_id'];
        $_sSectionError = isset($aFieldErrors[$_sSectionID]) && is_string($aFieldErrors[$_sSectionID]) ? $aFieldErrors[$_sSectionID] : '';
        return $_sSectionError ? "<div class='admin-page-framework-error'><span class='section-error'>* " . $_sSectionError . "</span></div>" : '';
    }