|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilOrgUnitPosition. More...
Inheritance diagram for ilOrgUnitPosition:
Collaboration diagram for ilOrgUnitPosition:Static Public Member Functions | |
| static | returnDbTableName () |
| static | get () |
| Override for correct on return value. More... | |
| static | getCorePosition ($core_identifier) |
| static | getCorePositionId ($core_identifier) |
| static | getActive () |
| static | getActiveForPosition ($orgu_ref_id) |
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 | CORE_POSITION_EMPLOYEE = 1 |
| const | CORE_POSITION_SUPERIOR = 2 |
Data Fields inherited from ActiveRecord | |
| const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Attributes | |
| $id = 0 | |
| $title = "" | |
| $description = "" | |
| $core_position = false | |
| $core_identifier = 0 | |
| $authorities = array() | |
Protected Attributes inherited from ActiveRecord | |
| $ar_safe_read = true | |
| $connector_container_name = '' | |
Private Member Functions | |
| storeAuthorities () | |
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 ilOrgUnitPosition.
Definition at line 8 of file class.ilOrgUnitPosition.php.
| ilOrgUnitPosition::__toString | ( | ) |
Definition at line 212 of file class.ilOrgUnitPosition.php.
References getTitle().
Here is the call graph for this function:| ilOrgUnitPosition::afterObjectLoad | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 174 of file class.ilOrgUnitPosition.php.
References getId(), ilOrgUnitAuthority\POSITION_ID, and ActiveRecord\where().
Here is the call graph for this function:| ilOrgUnitPosition::create | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 188 of file class.ilOrgUnitPosition.php.
References storeAuthorities().
Here is the call graph for this function:| ilOrgUnitPosition::delete | ( | ) |
ilException whenever you try to delete a core-position like employee or superior
Reimplemented from ActiveRecord.
Definition at line 60 of file class.ilOrgUnitPosition.php.
References isCorePosition().
Here is the call graph for this function:| ilOrgUnitPosition::deleteWithAllDependencies | ( | ) |
This deletes the Position, it's Authorities, dependent Authorities and all User-Assignements!
Definition at line 235 of file class.ilOrgUnitPosition.php.
References $authority, getDependentAuthorities(), and ilOrgUnitUserAssignmentQueries\getInstance().
Here is the call graph for this function:
|
static |
Override for correct on return value.
@noinspection PhpIncompatibleReturnTypeInspection
Reimplemented from ActiveRecord.
Definition at line 28 of file class.ilOrgUnitPosition.php.
Referenced by ilOrgUnitPermissionTableGUI\collectData().
Here is the caller graph for this function:
|
static |
Definition at line 73 of file class.ilOrgUnitPosition.php.
References $data, $GLOBALS, and arObjectCache\flush().
Here is the call graph for this function:
|
static |
| int | $orgu_ref_id |
Definition at line 102 of file class.ilOrgUnitPosition.php.
References $data, $GLOBALS, and arObjectCache\flush().
Referenced by ilOrgUnitUserAssignmentGUI\index().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitPosition::getAuthorities | ( | ) |
Definition at line 324 of file class.ilOrgUnitPosition.php.
References $authorities.
Referenced by storeAuthorities().
Here is the caller graph for this function:| ilOrgUnitPosition::getAuthoritiesAsArray | ( | ) |
Definition at line 198 of file class.ilOrgUnitPosition.php.
References $authority.
| ilOrgUnitPosition::getCoreIdentifier | ( | ) |
Definition at line 342 of file class.ilOrgUnitPosition.php.
References $core_identifier.
|
static |
| $core_identifier |
@noinspection PhpIncompatibleReturnTypeInspection
Definition at line 40 of file class.ilOrgUnitPosition.php.
References $core_identifier, and ActiveRecord\where().
Referenced by ilOrgUnitPositionGUI\assign(), and getCorePositionId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $core_identifier |
Definition at line 52 of file class.ilOrgUnitPosition.php.
References $core_identifier, and getCorePosition().
Referenced by ilObjOrgUnit\assignUsersToEmployeeRole(), ilObjOrgUnit\assignUsersToSuperiorRole(), ilObjOrgUnit\deassignUserFromEmployeeRole(), and ilObjOrgUnit\deassignUserFromSuperiorRole().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitPosition::getDependentAuthorities | ( | ) |
Definition at line 221 of file class.ilOrgUnitPosition.php.
References $authorities, ilOrgUnitAuthority\FIELD_OVER, getId(), and ActiveRecord\where().
Referenced by deleteWithAllDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitPosition::getDescription | ( | ) |
Definition at line 288 of file class.ilOrgUnitPosition.php.
References $description.
| ilOrgUnitPosition::getId | ( | ) |
Definition at line 252 of file class.ilOrgUnitPosition.php.
References $id.
Referenced by ilOrgUnitUserAssignmentTableGUI\__construct(), afterObjectLoad(), ilOrgUnitUserAssignmentTableGUI\fillRow(), ilObjOrgUnitTree\getAssignements(), getDependentAuthorities(), and storeAuthorities().
Here is the caller graph for this function:| ilOrgUnitPosition::getTitle | ( | ) |
Definition at line 270 of file class.ilOrgUnitPosition.php.
References $title.
Referenced by ilOrgUnitUserAssignmentTableGUI\__construct(), and __toString().
Here is the caller graph for this function:| ilOrgUnitPosition::isCorePosition | ( | ) |
Definition at line 306 of file class.ilOrgUnitPosition.php.
References $core_position.
Referenced by delete().
Here is the caller graph for this function:
|
static |
Reimplemented from ActiveRecord.
Definition at line 17 of file class.ilOrgUnitPosition.php.
| ilOrgUnitPosition::setAuthorities | ( | $authorities | ) |
| \ilOrgUnitAuthority[] | $authorities |
Definition at line 333 of file class.ilOrgUnitPosition.php.
References $authorities.
| ilOrgUnitPosition::setCoreIdentifier | ( | $core_identifier | ) |
| int | $core_identifier |
Definition at line 351 of file class.ilOrgUnitPosition.php.
References $core_identifier.
| ilOrgUnitPosition::setCorePosition | ( | $core_position | ) |
| bool | $core_position |
Definition at line 315 of file class.ilOrgUnitPosition.php.
References $core_position.
| ilOrgUnitPosition::setDescription | ( | $description | ) |
| string | $description |
Definition at line 297 of file class.ilOrgUnitPosition.php.
References $description.
| ilOrgUnitPosition::setId | ( | $id | ) |
| ilOrgUnitPosition::setTitle | ( | $title | ) |
| string | $title |
Definition at line 279 of file class.ilOrgUnitPosition.php.
References $title.
|
private |
Definition at line 357 of file class.ilOrgUnitPosition.php.
References $authority, ActiveRecord\count(), getAuthorities(), getId(), and ActiveRecord\where().
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitPosition::update | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 181 of file class.ilOrgUnitPosition.php.
References storeAuthorities(), and League\Flysystem\Adapter\Polyfill\update().
Here is the call graph for this function:
|
protected |
Definition at line 171 of file class.ilOrgUnitPosition.php.
Referenced by getAuthorities(), getDependentAuthorities(), and setAuthorities().
|
protected |
Definition at line 167 of file class.ilOrgUnitPosition.php.
Referenced by getCoreIdentifier(), getCorePosition(), getCorePositionId(), and setCoreIdentifier().
|
protected |
Definition at line 159 of file class.ilOrgUnitPosition.php.
Referenced by isCorePosition(), and setCorePosition().
|
protected |
Definition at line 151 of file class.ilOrgUnitPosition.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 135 of file class.ilOrgUnitPosition.php.
|
protected |
Definition at line 143 of file class.ilOrgUnitPosition.php.
Referenced by getTitle(), and setTitle().
| const ilOrgUnitPosition::CORE_POSITION_EMPLOYEE = 1 |
Definition at line 10 of file class.ilOrgUnitPosition.php.
Referenced by ilOrgUnitPositionGUI\assign(), ilObjOrgUnit\assignUsersToEmployeeRole(), and ilObjOrgUnit\deassignUserFromEmployeeRole().
| const ilOrgUnitPosition::CORE_POSITION_SUPERIOR = 2 |
Definition at line 11 of file class.ilOrgUnitPosition.php.
Referenced by ilObjOrgUnit\assignUsersToSuperiorRole(), and ilObjOrgUnit\deassignUserFromSuperiorRole().