ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Static Public Member Functions | |
static | getScopes () |
static | returnDbTableName () |
static | replaceNameRenderer (Closure $closure) |
![]() | |
static | returnDbTableName () |
static | installDB () |
static | renameDBField (string $old_name, string $new_name) |
static | tableExists () |
static | fieldExists (string $field_name) |
static | removeDBField (string $field_name) |
static | updateDB () |
static | resetDB () |
static | truncateDB () |
static | flushDB () |
never use in ILIAS Core, Plugins only More... | |
static | preloadObjects () |
static | additionalParams (array $additional_params) |
static | findOrFail ($primary_key, array $add_constructor_args=array()) |
Tries to find the object and throws an Exception if object is not found, instead of returning null. More... | |
static | findOrGetInstance ($primary_key, array $add_constructor_args=array()) |
static | where ($where, $operator=null) |
static | innerjoinAR (ActiveRecord $ar, $on_this, $on_external, array $fields=array(' *'), string $operator='=', $both_external=false) |
static | innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
static | leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
static | orderBy ($orderBy, string $orderDirection='ASC') |
static | dateFormat (string $date_format='d.m.Y - H:i:s') |
static | limit ($start, $end) |
static | affectedRows () |
static | count () |
static | get () |
static | debug () |
static | first () |
static | getCollection () |
static | last () |
static | getFirstFromLastQuery () |
static | connector (arConnector $connector) |
static | raw (bool $set_raw=true) |
static | getArray (?string $key=null, $values=null) |
static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Data Fields | |
const | FIELD_OVER = 'over' |
const | OVER_EVERYONE = -1 |
const | POSITION_ID = "position_id" |
const | SCOPE_SAME_ORGU = 1 |
const | SCOPE_SUBSEQUENT_ORGUS = 2 |
const | SCOPE_ALL_ORGUS = 3 |
Protected Attributes | |
$id = 0 | |
int | $over = self::OVER_EVERYONE |
int | $scope = self::SCOPE_SAME_ORGU |
int | $position_id = 0 |
![]() | |
bool | $ar_safe_read = true |
string | $connector_container_name = '' |
bool | $is_new = true |
Static Protected Attributes | |
static | $scopes |
static Closure | $name_render = null |
Additional Inherited Members | |
![]() | |
installDatabase () | |
![]() | |
static | getCalledClass () |
Returns an instance of the instatiated calling active record (needs to be done in static methods) : This should be cached somehow More... | |
static | fromCamelCase (string $str) |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilOrguAuthority
Definition at line 25 of file class.ilOrgUnitAuthority.php.
ilOrgUnitAuthority::__construct | ( | $primary_key = 0 | ) |
ilOrgUnitAuthority constructor.
$primary_key |
Definition at line 92 of file class.ilOrgUnitAuthority.php.
References $id, and ILIAS\GlobalScreen\Provider\__construct().
ilOrgUnitAuthority::__toArray | ( | ) |
Definition at line 117 of file class.ilOrgUnitAuthority.php.
References getId(), getOver(), getPositionId(), and getScope().
ilOrgUnitAuthority::__toString | ( | ) |
Definition at line 110 of file class.ilOrgUnitAuthority.php.
References getId().
ilOrgUnitAuthority::getId | ( | ) |
Definition at line 130 of file class.ilOrgUnitAuthority.php.
References $id.
Referenced by __toArray(), and __toString().
ilOrgUnitAuthority::getOver | ( | ) |
Definition at line 143 of file class.ilOrgUnitAuthority.php.
References $over.
Referenced by __toArray().
ilOrgUnitAuthority::getPositionId | ( | ) |
Definition at line 175 of file class.ilOrgUnitAuthority.php.
References $position_id.
Referenced by __toArray().
ilOrgUnitAuthority::getScope | ( | ) |
Definition at line 156 of file class.ilOrgUnitAuthority.php.
References $scope.
Referenced by __toArray().
|
static |
Definition at line 45 of file class.ilOrgUnitAuthority.php.
References $scopes.
Referenced by ilOrgUnitAuthorityInputGUI\getValue(), and ilOrgUnitPositionFormGUI\initFormElements().
|
static |
\Closure | $closure |
Definition at line 105 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionGUI\getPositionFromRequest().
|
static |
Definition at line 50 of file class.ilOrgUnitAuthority.php.
ilOrgUnitAuthority::setId | ( | $id | ) |
ilOrgUnitAuthority::setOver | ( | int | $over | ) |
This is either an ID of a position or ilOrgUnitAuthority::OVER_EVERYONE.
Definition at line 151 of file class.ilOrgUnitAuthority.php.
References $over.
ilOrgUnitAuthority::setPositionId | ( | int | $position_id | ) |
ilOrgUnitAuthority::setScope | ( | int | $scope | ) |
This is either ilOrgUnitAuthority::SCOPE_SAME_ORGU, ilOrgUnitAuthority::SCOPE_ALL_ORGUS or ilOrgUnitAuthority::SCOPE_SUBSEQUENT_ORGUS.
int | $scope |
Definition at line 167 of file class.ilOrgUnitAuthority.php.
References $scope, and $scopes.
|
protected |
Definition at line 64 of file class.ilOrgUnitAuthority.php.
Referenced by __construct(), getId(), and setId().
|
staticprotected |
Definition at line 86 of file class.ilOrgUnitAuthority.php.
|
protected |
Definition at line 71 of file class.ilOrgUnitAuthority.php.
|
protected |
Definition at line 85 of file class.ilOrgUnitAuthority.php.
Referenced by getPositionId(), and setPositionId().
|
protected |
Definition at line 78 of file class.ilOrgUnitAuthority.php.
Referenced by getScope(), and setScope().
|
staticprotected |
Definition at line 37 of file class.ilOrgUnitAuthority.php.
const ilOrgUnitAuthority::FIELD_OVER = 'over' |
Definition at line 27 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPosition\getDependentAuthorities().
const ilOrgUnitAuthority::OVER_EVERYONE = -1 |
Definition at line 28 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionAccess\filterUserIdsByPositionOfUser(), ilOrgUnitPositionGUI\getPositionFromRequest(), ilOrgUnitAuthorityInputGUI\getValue(), and ilOrgUnitPositionFormGUI\initFormElements().
const ilOrgUnitAuthority::POSITION_ID = "position_id" |
Definition at line 29 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPosition\afterObjectLoad().
const ilOrgUnitAuthority::SCOPE_ALL_ORGUS = 3 |
Definition at line 32 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionGUI\getPositionFromRequest().
const ilOrgUnitAuthority::SCOPE_SAME_ORGU = 1 |
Definition at line 30 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionAccess\filterUserIdsByPositionOfUser(), and ilOrgUnitPositionGUI\getPositionFromRequest().
const ilOrgUnitAuthority::SCOPE_SUBSEQUENT_ORGUS = 2 |
Definition at line 31 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionAccess\filterUserIdsByPositionOfUser(), and ilOrgUnitPositionGUI\getPositionFromRequest().