ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilOrgUnitPosition. More...
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().
ilOrgUnitPosition::afterObjectLoad | ( | ) |
Definition at line 174 of file class.ilOrgUnitPosition.php.
References array, getId(), ilOrgUnitAuthority\POSITION_ID, and ActiveRecord\where().
ilOrgUnitPosition::create | ( | ) |
Definition at line 188 of file class.ilOrgUnitPosition.php.
References storeAuthorities().
ilOrgUnitPosition::delete | ( | ) |
Definition at line 60 of file class.ilOrgUnitPosition.php.
References isCorePosition().
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().
|
static |
Override for correct on return value.
PhpIncompatibleReturnTypeInspection
Definition at line 28 of file class.ilOrgUnitPosition.php.
Referenced by ilOrgUnitPermissionTableGUI\collectData().
|
static |
Definition at line 73 of file class.ilOrgUnitPosition.php.
References $data, $GLOBALS, array, and arObjectCache\flush().
|
static |
int | $orgu_ref_id |
Definition at line 102 of file class.ilOrgUnitPosition.php.
References $data, $GLOBALS, array, and arObjectCache\flush().
Referenced by ilOrgUnitUserAssignmentGUI\index().
ilOrgUnitPosition::getAuthorities | ( | ) |
Definition at line 324 of file class.ilOrgUnitPosition.php.
References $authorities.
Referenced by storeAuthorities().
ilOrgUnitPosition::getAuthoritiesAsArray | ( | ) |
Definition at line 198 of file class.ilOrgUnitPosition.php.
References $authority, and array.
ilOrgUnitPosition::getCoreIdentifier | ( | ) |
|
static |
$core_identifier |
PhpIncompatibleReturnTypeInspection
Definition at line 40 of file class.ilOrgUnitPosition.php.
References $core_identifier, and ActiveRecord\where().
Referenced by ilOrgUnitPositionGUI\assign().
|
static |
$core_identifier |
Definition at line 52 of file class.ilOrgUnitPosition.php.
References $core_identifier.
Referenced by ilObjOrgUnit\assignUsersToEmployeeRole(), ilObjOrgUnit\assignUsersToSuperiorRole(), ilObjOrgUnit\deassignUserFromEmployeeRole(), and ilObjOrgUnit\deassignUserFromSuperiorRole().
ilOrgUnitPosition::getDependentAuthorities | ( | ) |
Definition at line 221 of file class.ilOrgUnitPosition.php.
References $authorities, array, ilOrgUnitAuthority\FIELD_OVER, getId(), and ActiveRecord\where().
Referenced by deleteWithAllDependencies().
ilOrgUnitPosition::getDescription | ( | ) |
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().
ilOrgUnitPosition::getTitle | ( | ) |
Definition at line 270 of file class.ilOrgUnitPosition.php.
References $title.
Referenced by ilOrgUnitUserAssignmentTableGUI\__construct(), and __toString().
ilOrgUnitPosition::isCorePosition | ( | ) |
Definition at line 306 of file class.ilOrgUnitPosition.php.
References $core_position.
Referenced by delete().
|
static |
Definition at line 17 of file class.ilOrgUnitPosition.php.
ilOrgUnitPosition::setAuthorities | ( | $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, array, ActiveRecord\count(), getAuthorities(), getId(), and ActiveRecord\where().
Referenced by create(), and update().
ilOrgUnitPosition::update | ( | ) |
Definition at line 181 of file class.ilOrgUnitPosition.php.
References storeAuthorities(), and League\Flysystem\Adapter\Polyfill\update().
|
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().