APF_Demo_CustomFieldType_Mixed::__construct PHP Method

__construct() public method

public __construct ( $oFactory, $sPageSlug )
    public function __construct($oFactory, $sPageSlug)
    {
        $this->oFactory = $oFactory;
        $this->sClassName = $oFactory->oProp->sClassName;
        $this->sPageSlug = $sPageSlug;
        $this->sSectionID = $this->sTabSlug;
        $this->oFactory->addInPageTabs($this->sPageSlug, array('tab_slug' => $this->sTabSlug, 'title' => __('Mixed', 'admin-page-framework-loader')));
        // load + page slug + tab slug
        add_action('load_' . $this->sPageSlug . '_' . $this->sTabSlug, array($this, 'replyToLoadTab'));
    }