Habari\AdminGroupsHandler::post_groups PHP Метод

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

Handles POST requests for the groups page.
public post_groups ( )
    public function post_groups()
    {
        // Process the forms on this page, if they were submitted.
        $this->theme->groups = UserGroups::get_all();
        // Process the forms on this page, if they were submitted.
        $redirect_to = URL::get('admin', array('page' => 'groups'));
        FormUI::build('add_group', 'add_group')->post_redirect($redirect_to);
    }