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...
Public Member Functions | |
delete () | |
afterObjectLoad () | |
update () | |
create () | |
getAuthoritiesAsArray () | |
__toString () | |
getDependentAuthorities () | |
deleteWithAllDependencies () | |
This deletes the Position, it's Authorities, dependent Authorities and all User-Assignements! More... | |
getId () | |
setId (?int $id) | |
getTitle () | |
setTitle (string $title) | |
getDescription () | |
setDescription (string $description) | |
isCorePosition () | |
setCorePosition (bool $core_position) | |
getAuthorities () | |
setAuthorities (array $authorities) | |
getCoreIdentifier () | |
setCoreIdentifier (int $core_identifier) | |
![]() | |
getArConnector () | |
getArFieldList () | |
getConnectorContainerName () | |
Return the Name of your Connector Table More... | |
setConnectorContainerName (string $connector_container_name) | |
getPrimaryFieldValue () | |
setPrimaryFieldValue ($value) | |
__construct ($primary_key=0) | |
storeObjectToCache () | |
asStdClass () | |
buildFromArray (array $array) | |
fixDateField ($field_name, $value) | |
sleep ($field_name) | |
wakeUp ($field_name, $field_value) | |
getArrayForConnector () | |
installConnector () | |
store () | |
save () | |
create () | |
copy (int $new_id=0) | |
afterObjectLoad () | |
read () | |
update () | |
delete () | |
__call ($name, $arguments) | |
Static Public Member Functions | |
static | returnDbTableName () |
static | get () |
Override for correct on return value. More... | |
static | getCorePosition (int $core_identifier) |
static | getCorePositionId (int $core_identifier) |
static | getActive () |
static | getActiveForPosition (int $orgu_ref_id) |
![]() | |
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 | CORE_POSITION_EMPLOYEE = 1 |
const | CORE_POSITION_SUPERIOR = 2 |
Protected Attributes | |
int | $id = 0 |
string | $title = "" |
string | $description = "" |
bool | $core_position = false |
int | $core_identifier = 0 |
array | $authorities = array() |
![]() | |
bool | $ar_safe_read = true |
string | $connector_container_name = '' |
bool | $is_new = true |
Private Member Functions | |
storeAuthorities () | |
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 ilOrgUnitPosition
Definition at line 23 of file class.ilOrgUnitPosition.php.
ilOrgUnitPosition::__toString | ( | ) |
Definition at line 190 of file class.ilOrgUnitPosition.php.
References getTitle().
ilOrgUnitPosition::afterObjectLoad | ( | ) |
Definition at line 162 of file class.ilOrgUnitPosition.php.
References getId(), ilOrgUnitAuthority\POSITION_ID, and ActiveRecord\where().
ilOrgUnitPosition::create | ( | ) |
Definition at line 174 of file class.ilOrgUnitPosition.php.
References storeAuthorities().
ilOrgUnitPosition::delete | ( | ) |
ilException |
Definition at line 57 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 209 of file class.ilOrgUnitPosition.php.
References getDependentAuthorities(), and ilOrgUnitUserAssignmentQueries\getInstance().
|
static |
Override for correct on return value.
PhpIncompatibleReturnTypeInspection
Definition at line 37 of file class.ilOrgUnitPosition.php.
References ILIAS\Repository\get().
Referenced by ilOrgUnitPermissionTableGUI\collectData().
|
static |
Definition at line 69 of file class.ilOrgUnitPosition.php.
References $data, $GLOBALS, and arObjectCache\flush().
|
static |
int | $orgu_ref_id |
Definition at line 96 of file class.ilOrgUnitPosition.php.
References $data, $GLOBALS, and arObjectCache\flush().
Referenced by ilOrgUnitUserAssignmentGUI\assignmentsRecursive(), and ilOrgUnitUserAssignmentGUI\index().
ilOrgUnitPosition::getAuthorities | ( | ) |
Definition at line 265 of file class.ilOrgUnitPosition.php.
References $authorities.
Referenced by storeAuthorities().
ilOrgUnitPosition::getAuthoritiesAsArray | ( | ) |
Definition at line 180 of file class.ilOrgUnitPosition.php.
ilOrgUnitPosition::getCoreIdentifier | ( | ) |
|
static |
PhpIncompatibleReturnTypeInspection
Definition at line 43 of file class.ilOrgUnitPosition.php.
Referenced by ilOrgUnitPositionGUI\assign(), ilObjOrgUnitTree\getEmployees(), and ilObjOrgUnitTree\getSuperiors().
|
static |
Definition at line 49 of file class.ilOrgUnitPosition.php.
Referenced by ilObjOrgUnit\assignUsersToEmployeeRole(), ilObjOrgUnit\assignUsersToSuperiorRole(), ilObjOrgUnit\deassignUserFromEmployeeRole(), ilObjOrgUnit\deassignUserFromSuperiorRole(), ILIAS\OrgUnit\Webservices\SOAP\EmployeePositionId\run(), and ILIAS\OrgUnit\Webservices\SOAP\SuperiorPositionId\run().
ilOrgUnitPosition::getDependentAuthorities | ( | ) |
Definition at line 198 of file class.ilOrgUnitPosition.php.
References $authorities, ilOrgUnitAuthority\FIELD_OVER, getId(), and ActiveRecord\where().
Referenced by deleteWithAllDependencies().
ilOrgUnitPosition::getDescription | ( | ) |
ilOrgUnitPosition::getId | ( | ) |
Definition at line 222 of file class.ilOrgUnitPosition.php.
References $id.
Referenced by ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), afterObjectLoad(), ilObjOrgUnitTree\getAssignements(), getDependentAuthorities(), and storeAuthorities().
ilOrgUnitPosition::getTitle | ( | ) |
Definition at line 232 of file class.ilOrgUnitPosition.php.
References $title.
Referenced by ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), and __toString().
ilOrgUnitPosition::isCorePosition | ( | ) |
Definition at line 252 of file class.ilOrgUnitPosition.php.
References $core_position.
Referenced by delete().
|
static |
Definition at line 28 of file class.ilOrgUnitPosition.php.
ilOrgUnitPosition::setAuthorities | ( | array | $authorities | ) |
ilOrgUnitAuthority[] | $authorities |
Definition at line 273 of file class.ilOrgUnitPosition.php.
References $authorities.
ilOrgUnitPosition::setCoreIdentifier | ( | int | $core_identifier | ) |
int | $core_identifier |
Definition at line 289 of file class.ilOrgUnitPosition.php.
References $core_identifier.
ilOrgUnitPosition::setCorePosition | ( | bool | $core_position | ) |
ilOrgUnitPosition::setDescription | ( | string | $description | ) |
ilOrgUnitPosition::setId | ( | ?int | $id | ) |
ilOrgUnitPosition::setTitle | ( | string | $title | ) |
|
private |
Definition at line 294 of file class.ilOrgUnitPosition.php.
References ActiveRecord\count(), getAuthorities(), getId(), and ActiveRecord\where().
Referenced by create(), and update().
ilOrgUnitPosition::update | ( | ) |
Definition at line 168 of file class.ilOrgUnitPosition.php.
References storeAuthorities().
|
protected |
Definition at line 160 of file class.ilOrgUnitPosition.php.
Referenced by getAuthorities(), getDependentAuthorities(), and setAuthorities().
|
protected |
Definition at line 156 of file class.ilOrgUnitPosition.php.
Referenced by getCoreIdentifier(), and setCoreIdentifier().
|
protected |
Definition at line 149 of file class.ilOrgUnitPosition.php.
Referenced by isCorePosition(), and setCorePosition().
|
protected |
Definition at line 142 of file class.ilOrgUnitPosition.php.
Referenced by getDescription(), and setDescription().
|
protected |
Definition at line 128 of file class.ilOrgUnitPosition.php.
|
protected |
Definition at line 135 of file class.ilOrgUnitPosition.php.
Referenced by getTitle(), and setTitle().
const ilOrgUnitPosition::CORE_POSITION_EMPLOYEE = 1 |
Definition at line 25 of file class.ilOrgUnitPosition.php.
Referenced by ilOrgUnitUserAssignmentGUI\addStaff(), ilOrgUnitUserAssignmentGUI\addStaffFromSearch(), 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 26 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().