FeedDiscussionsPlugin::Controller_Index PHP Method

Controller_Index() public method

Dashboard settings page.
public Controller_Index ( $Sender )
$Sender
    public function Controller_Index($Sender)
    {
        $Sender->Permission('Garden.Settings.Manage');
        $Sender->Title($this->GetPluginKey('name'));
        $Sender->AddSideMenu('plugin/feeddiscussions');
        $Sender->SetData('Description', $this->GetPluginKey('description'));
        $Sender->AddCssFile('feeddiscussions.css', 'plugins/FeedDiscussions');
        $Categories = CategoryModel::Categories();
        $Sender->SetData('Categories', $Categories);
        $Sender->SetData('Feeds', $this->GetFeeds());
        $Sender->Render('feeddiscussions', '', 'plugins/FeedDiscussions');
    }