Esempio n. 1
0
 public function getRoles()
 {
     return RoleIterator::loadByApplication($this->configuration(), $this->id, $this->database, false);
 }
Esempio n. 2
0
 public static function loadByApplication(Configuration $configuration, $id, EnhancedDatabase $database = null, $controller = false)
 {
     $iterator = new Iterator($configuration, $database, $controller);
     return $iterator->loadDataByApplication($id);
 }
Esempio n. 3
0
 public function getRoles()
 {
     return RoleIterator::loadByUser($this->configuration(), $this->id, $this->database(), true);
 }