AdminPageFrameworkLoader_AdminPage_Section_Base::__construct PHP Метод

__construct() публичный Метод

Sets up hooks and properties.
public __construct ( $oFactory, $sPageSlug, array $aSectionDefinition )
$aSectionDefinition array
    public function __construct($oFactory, $sPageSlug, array $aSectionDefinition)
    {
        $this->oFactory = $oFactory;
        $this->sPageSlug = $sPageSlug;
        $aSectionDefinition = $aSectionDefinition + array('tab_slug' => '', 'section_id' => '');
        $this->sTabSlug = $aSectionDefinition['tab_slug'];
        $this->sSectionID = $aSectionDefinition['section_id'];
        if (!$this->sSectionID) {
            return;
        }
        $this->_addSection($oFactory, $sPageSlug, $aSectionDefinition);
        $this->construct($oFactory);
    }
AdminPageFrameworkLoader_AdminPage_Section_Base