Esempio n. 1
0
 protected function setCurrentRole($role)
 {
     if ($this->role_exists($role)) {
         $this->current_role = $role;
     } else {
         $this->current_role = mvb_Model_API::getCurrentEditableUserRole();
     }
     return TRUE;
 }