|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 213 of file class.ilOrgUnitPosition.php.
References getTitle().
Here is the call graph for this function:| ilOrgUnitPosition::afterObjectLoad | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 175 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 189 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 61 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 236 of file class.ilOrgUnitPosition.php.
References 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.
References ILIAS\GlobalScreen\get().
Referenced by ilOrgUnitPermissionTableGUI\collectData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 74 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 103 of file class.ilOrgUnitPosition.php.
References $data, $GLOBALS, and arObjectCache\flush().
Referenced by ilOrgUnitUserAssignmentGUI\assignmentsRecursive(), and ilOrgUnitUserAssignmentGUI\index().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitPosition::getAuthorities | ( | ) |
Definition at line 325 of file class.ilOrgUnitPosition.php.
References $authorities.
Referenced by storeAuthorities().
Here is the caller graph for this function:| ilOrgUnitPosition::getAuthoritiesAsArray | ( | ) |
Definition at line 199 of file class.ilOrgUnitPosition.php.
| ilOrgUnitPosition::getCoreIdentifier | ( | ) |
Definition at line 343 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(), getCorePositionId(), ilObjOrgUnitTree\getEmployees(), and ilObjOrgUnitTree\getSuperiors().
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(), ilObjOrgUnit\deassignUserFromSuperiorRole(), ILIAS\OrgUnit\Webservices\SOAP\EmployeePositionId\run(), and ILIAS\OrgUnit\Webservices\SOAP\SuperiorPositionId\run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitPosition::getDependentAuthorities | ( | ) |
Definition at line 222 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 289 of file class.ilOrgUnitPosition.php.
References $description.
| ilOrgUnitPosition::getId | ( | ) |
Definition at line 253 of file class.ilOrgUnitPosition.php.
References $id.
Referenced by afterObjectLoad(), ilObjOrgUnitTree\getAssignements(), getDependentAuthorities(), and storeAuthorities().
Here is the caller graph for this function:| ilOrgUnitPosition::getTitle | ( | ) |
Definition at line 271 of file class.ilOrgUnitPosition.php.
References $title.
Referenced by __toString().
Here is the caller graph for this function:| ilOrgUnitPosition::isCorePosition | ( | ) |
Definition at line 307 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 334 of file class.ilOrgUnitPosition.php.
References $authorities.
| ilOrgUnitPosition::setCoreIdentifier | ( | $core_identifier | ) |
| int | $core_identifier |
Definition at line 352 of file class.ilOrgUnitPosition.php.
References $core_identifier.
| ilOrgUnitPosition::setCorePosition | ( | $core_position | ) |
| bool | $core_position |
Definition at line 316 of file class.ilOrgUnitPosition.php.
References $core_position.
| ilOrgUnitPosition::setDescription | ( | $description | ) |
| string | $description |
Definition at line 298 of file class.ilOrgUnitPosition.php.
References $description.
| ilOrgUnitPosition::setId | ( | $id | ) |
| ilOrgUnitPosition::setTitle | ( | $title | ) |
| string | $title |
Definition at line 280 of file class.ilOrgUnitPosition.php.
References $title.
|
private |
Definition at line 358 of file class.ilOrgUnitPosition.php.
References 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 182 of file class.ilOrgUnitPosition.php.
References storeAuthorities().
Here is the call graph for this function:
|
protected |
Definition at line 172 of file class.ilOrgUnitPosition.php.
Referenced by getAuthorities(), getDependentAuthorities(), and setAuthorities().
|
protected |
Definition at line 168 of file class.ilOrgUnitPosition.php.
Referenced by getCoreIdentifier(), getCorePosition(), getCorePositionId(), and setCoreIdentifier().
|
protected |
Definition at line 160 of file class.ilOrgUnitPosition.php.
Referenced by isCorePosition(), and setCorePosition().
|
protected |
Definition at line 152 of file class.ilOrgUnitPosition.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 136 of file class.ilOrgUnitPosition.php.
|
protected |
Definition at line 144 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(), ilObjOrgUnit\deassignUserFromEmployeeRole(), ilObjOrgUnitTree\getEmployees(), ilObjOrgUnitTree\getEmployeesUnderUser(), OrgUnit\Positions\UserAssignment\ilOrgUnitUserAssignmentRepository\getEmplSuperiorList(), OrgUnit\User\ilOrgUnitUserRepository\getSuperiorsSql(), ILIAS\OrgUnit\Webservices\SOAP\EmployeePositionId\run(), and ilOrgUnitSimpleUserImport\simpleUserImportElement().
| const ilOrgUnitPosition::CORE_POSITION_SUPERIOR = 2 |
Definition at line 11 of file class.ilOrgUnitPosition.php.
Referenced by ilObjOrgUnit\assignUsersToSuperiorRole(), ilObjOrgUnit\deassignUserFromSuperiorRole(), ilObjOrgUnitTree\getEmployeesUnderUser(), OrgUnit\Positions\UserAssignment\ilOrgUnitUserAssignmentRepository\getEmplSuperiorList(), ilObjOrgUnitTree\getSuperiors(), OrgUnit\User\ilOrgUnitUserRepository\getSuperiorsSql(), ILIAS\OrgUnit\Webservices\SOAP\SuperiorPositionId\run(), and ilOrgUnitSimpleUserImport\simpleUserImportElement().