User

$this->user->login($username, $password);

Login an admin user to their admin account.

$this->user->logout();

Log an admin user out of their account.

$this->user->hasPermission($key, $value);

Checks to see if the logged in user has permission to view or edit a particular admin page.

$this->user->isLogged();

Checks to see if the admin user is logged into their account.

$this->user->getId();

Gets the ID number of the administrator account.

$this->user->getUserName();

Returns the username of the logged in administrator.

Last update: August 23rd at 11:11pm