APF_Demo_ManageOptions_Export::__construct PHP Method

__construct() public method

Sets uo properties, hooks, and in-page tabs.
public __construct ( $oFactory, $sPageSlug )
    public function __construct($oFactory, $sPageSlug)
    {
        $this->_oFactory = $oFactory;
        $this->_sClassName = $oFactory->oProp->sClassName;
        $this->_sPageSlug = $sPageSlug;
        $this->_oFactory->addInPageTabs($this->_sPageSlug, array('tab_slug' => $this->_sTabSlug, 'title' => __('Export', 'admin-page-framework-loader')));
        // load + page slug + tab slug
        add_action('load_' . $this->_sPageSlug . '_' . $this->_sTabSlug, array($this, 'replyToLoadTab'));
    }