Exemple #1
0
 public function getAuthorisedGroups()
 {
     if ($this->_authGroups === null) {
         $this->_authGroups = array();
     }
     if (empty($this->_authGroups)) {
         $this->_authGroups = MAccess::getGroupsByUser($this->id);
     }
     return $this->_authGroups;
 }