Свойство | Тип | Описание | |
---|---|---|---|
$oFactory | Stores the factory object. | ||
$sPageSlug | Stores the associated page slug with the adding section. | ||
$sSectionID | Stores the section ID. | ||
$sTabSlug | Stores the associated tab slug with the adding section. |
Метод | Описание | |
---|---|---|
__construct ( $oFactory, $sPageSlug, array $aSectionDefinition ) | Sets up hooks and properties. | |
addFields ( $oFactory, $sSectionID ) | Called when adding fields. | |
validate ( $aInput, $aOldInput, $oFactory, $aSubmitInfo ) | Called upon form validation. |
Метод | Описание | |
---|---|---|
_addSection ( $oFactory, $sPageSlug, array $aSectionDefinition ) |
public __construct ( $oFactory, $sPageSlug, array $aSectionDefinition ) | ||
$aSectionDefinition | array |
public validate ( $aInput, $aOldInput, $oFactory, $aSubmitInfo ) |
public $sPageSlug |