public static function loadByRole(Configuration $configuration, $id, EnhancedDatabase $database = null, $controller = false) { $iterator = new Iterator($configuration, $database, $controller); return $iterator->loadDataByRole($id); }
public function getApplications() { return ApplicationIterator::loadByRole($this->configuration(), $this->id, $this->database(), false); }
public function getApplications() { $filter = array("package", "=", $this->id); return ApplicationIterator::loadBy($filter, $this->configuration(), $this->database(), true); }