APF_NetworkAdmin::setUp PHP Method

setUp() public method

(required) In the setUp() method, you will define how the pages and the form elements should be composed.
public setUp ( )
    public function setUp()
    {
        /* (optional) this can be set via the constructor. For available values, see https://codex.wordpress.org/Roles_and_Capabilities */
        // $this->setCapability( 'read' );
        /* (required) Set the root page */
        $this->setRootMenuPage('Admin Page Framework');
        // or $this->setRootMenuPageBySlug( 'sites.php' );
        // Pages
        new APF_Demo_BuiltinFieldType($this->oProp->sClassName);
        new APF_Demo_AdvancedUsage($this->oProp->sClassName);
        /*
         * (optional) Add links in the plugin listing table. ( .../wp-admin/plugins.php )
         */
        $this->addLinkToPluginDescription("<a href='http://en.michaeluno.jp/donate'>Donate</a>", "<a href='https://github.com/michaeluno/admin-page-framework' title='Contribute to the GitHub repository!' >Repository</a>");
        $this->addLinkToPluginTitle("<a href='http://en.michaeluno.jp'>miunosoft</a>");
    }