Habari\AdminUsersHandler::get_users PHP Method

get_users() public method

Handles GET requests of the users page.
public get_users ( )
    public function get_users()
    {
        // Get author list
        $author_list = Users::get_all();
        $authors[0] = _t('nobody');
        foreach ($author_list as $author) {
            $authors[$author->id] = $author->displayname;
        }
        $this->theme->authors = $authors;
        $this->theme->currentuser = User::identify();
        $this->theme->add_user_form = FormUI::build('add_user', 'add_user')->get();
        $this->theme->delete_users_form = FormUI::build('delete_users', 'delete_users')->get();
        $this->theme->display('users');
    }