ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilOrguAuthority. More...
Static Public Member Functions | |
static | getScopes () |
static | returnDbTableName () |
static | replaceNameRenderer (Closure $closure) |
Static Public Member Functions inherited from ActiveRecord | |
static | returnDbTableName () |
static | installDB () |
static | renameDBField ($old_name, $new_name) |
static | tableExists () |
static | fieldExists ($field_name) |
static | removeDBField ($field_name) |
static | updateDB () |
static | resetDB () |
static | truncateDB () |
static | flushDB () |
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, $fields=array(' *'), $operator='=', $both_external=false) |
static | innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | orderBy ($orderBy, $orderDirection='ASC') |
static | dateFormat ($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 ($set_raw=true) |
static | getArray ($key=null, $values=null) |
static | _toCamelCase ($str, $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 |
Data Fields inherited from ActiveRecord | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Attributes | |
$id = 0 | |
$over = self::OVER_EVERYONE | |
$scope = self::SCOPE_SAME_ORGU | |
$position_id = 0 | |
Protected Attributes inherited from ActiveRecord | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Static Protected Attributes | |
static | $scopes |
static | $name_render |
Additional Inherited Members | |
Protected Member Functions inherited from ActiveRecord | |
serializeToCSV ($field) | |
This method is called for every field of your instance if you use __asCsv. More... | |
installDatabase () | |
Static Protected Member Functions inherited from ActiveRecord | |
static | getCalledClass () |
static | fromCamelCase ($str) |
Class ilOrguAuthority.
Definition at line 10 of file class.ilOrgUnitAuthority.php.
ilOrgUnitAuthority::__construct | ( | $primary_key = 0 , |
|
\arConnector | $connector = null |
||
) |
ilOrgUnitAuthority constructor.
int | $primary_key | |
\arConnector | null | $connector |
Definition at line 93 of file class.ilOrgUnitAuthority.php.
References $id.
ilOrgUnitAuthority::__toArray | ( | ) |
Definition at line 127 of file class.ilOrgUnitAuthority.php.
References getId(), getOver(), getPositionId(), and getScope().
ilOrgUnitAuthority::__toString | ( | ) |
Definition at line 116 of file class.ilOrgUnitAuthority.php.
References getId().
ilOrgUnitAuthority::getId | ( | ) |
Definition at line 141 of file class.ilOrgUnitAuthority.php.
References $id.
Referenced by __toArray(), and __toString().
ilOrgUnitAuthority::getOver | ( | ) |
Definition at line 159 of file class.ilOrgUnitAuthority.php.
References $over.
Referenced by __toArray().
ilOrgUnitAuthority::getPositionId | ( | ) |
Definition at line 205 of file class.ilOrgUnitAuthority.php.
References $position_id.
Referenced by __toArray().
ilOrgUnitAuthority::getScope | ( | ) |
Definition at line 179 of file class.ilOrgUnitAuthority.php.
References $scope.
Referenced by __toArray().
|
static |
Definition at line 31 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitAuthorityInputGUI\getValue(), and ilOrgUnitPositionFormGUI\initFormElements().
|
static |
\Closure | $closure |
Definition at line 107 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionGUI\getPositionFromRequest().
|
static |
Definition at line 40 of file class.ilOrgUnitAuthority.php.
ilOrgUnitAuthority::setId | ( | $id | ) |
ilOrgUnitAuthority::setOver | ( | $over | ) |
This is either an ID of a position or ilOrgUnitAuthority::OVER_EVERYONE.
int | $over |
Definition at line 170 of file class.ilOrgUnitAuthority.php.
References $over.
ilOrgUnitAuthority::setPositionId | ( | $position_id | ) |
int | $position_id |
Definition at line 214 of file class.ilOrgUnitAuthority.php.
References $position_id.
ilOrgUnitAuthority::setScope | ( | $scope | ) |
This is either ilOrgUnitAuthority::SCOPE_SAME_ORGU, ilOrgUnitAuthority::SCOPE_ALL_ORGUS or ilOrgUnitAuthority::SCOPE_SUBSEQUENT_ORGUS.
int | $scope |
Definition at line 193 of file class.ilOrgUnitAuthority.php.
References $scope.
|
protected |
Definition at line 56 of file class.ilOrgUnitAuthority.php.
Referenced by __construct(), getId(), and setId().
|
staticprotected |
Definition at line 84 of file class.ilOrgUnitAuthority.php.
|
protected |
Definition at line 64 of file class.ilOrgUnitAuthority.php.
|
protected |
Definition at line 80 of file class.ilOrgUnitAuthority.php.
Referenced by getPositionId(), and setPositionId().
|
protected |
Definition at line 72 of file class.ilOrgUnitAuthority.php.
Referenced by getScope(), and setScope().
|
staticprotected |
Definition at line 21 of file class.ilOrgUnitAuthority.php.
const ilOrgUnitAuthority::FIELD_OVER = 'over' |
Definition at line 12 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPosition\getDependentAuthorities().
const ilOrgUnitAuthority::OVER_EVERYONE = -1 |
Definition at line 13 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 14 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPosition\afterObjectLoad().
const ilOrgUnitAuthority::SCOPE_ALL_ORGUS = 3 |
Definition at line 17 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionGUI\getPositionFromRequest().
const ilOrgUnitAuthority::SCOPE_SAME_ORGU = 1 |
Definition at line 15 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionAccess\filterUserIdsByPositionOfUser(), and ilOrgUnitPositionGUI\getPositionFromRequest().
const ilOrgUnitAuthority::SCOPE_SUBSEQUENT_ORGUS = 2 |
Definition at line 16 of file class.ilOrgUnitAuthority.php.
Referenced by ilOrgUnitPositionAccess\filterUserIdsByPositionOfUser(), and ilOrgUnitPositionGUI\getPositionFromRequest().