Add js language support

This commit is contained in:
Eike Foken
2011-04-22 14:06:11 +02:00
parent 8892918a7a
commit 8d2e8c0fe0
8 changed files with 128 additions and 42 deletions

View File

@@ -232,6 +232,15 @@ class Access {
return $userGroup == $checkGroup;
}
/**
* Gets the current logged in user.
*
* @return object
*/
public function getCurrentUser() {
return $this->ci->user->getUserByID($this->ci->session->userdata('user_id'))->row();
}
/**
* Gets the profile of the current user.
*