FeedDiscussionsPlugin::Controller_Toggle PHP Метод

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

This method handles the internally re-dispatched call generated when a user clicks the 'Enable' or 'Disable' button within the dashboard settings page for Feed Discussions.
public Controller_Toggle ( $Sender )
    public function Controller_Toggle($Sender)
    {
        $Sender->Permission('Garden.Settings.Manage');
        // Handle Enabled/Disabled toggling
        $this->AutoToggle($Sender);
    }