private function _getCaptionDescription($aSectionset, $hfSectionCallback) { if ($aSectionset['collapsible']) { return ''; } if (!is_callable($hfSectionCallback)) { return ''; } $_oSectionDescription = new AdminPageFramework_Form_View___Description($aSectionset['description'], 'admin-page-framework-section-description'); return "<div class='admin-page-framework-section-description'>" . call_user_func_array($hfSectionCallback, array($_oSectionDescription->get(), $aSectionset)) . "</div>"; }
private function _getExtras($aField, $iFieldsCount) { $_aOutput = array(); $_oFieldDescription = new AdminPageFramework_Form_View___Description($aField['description'], 'admin-page-framework-fields-description'); $_aOutput[] = $_oFieldDescription->get(); $_aOutput[] = $this->_getDynamicElementFlagFieldInputTag($aField); $_aOutput[] = $this->_getFieldScripts($aField, $iFieldsCount); return implode(PHP_EOL, array_filter($_aOutput)); }