ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Class ilOrgUnitPathStorage. More...
Public Member Functions | |
store () | |
getConnectorContainerName () | |
getRefId () | |
setRefId (int $ref_id) | |
getPath () | |
setPath (string $path) | |
getObjId () | |
setObjId (int $obj_id) | |
![]() | |
getArConnector () | |
getArFieldList () | |
getConnectorContainerName () | |
Return the Name of your Connector Table More... | |
setConnectorContainerName (string $connector_container_name) | |
getPrimaryFieldValue () | |
setPrimaryFieldValue ($value) | |
__construct (mixed $primary_key=0) | |
storeObjectToCache () | |
asStdClass () | |
asArray () | |
buildFromArray (array $array) | |
fixDateField ($field_name, string $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 | getAllOrguRefIds () |
static | getTextRepresentationOfOrgUnits (bool $sort_by_title=true) |
Get ref id path array. More... | |
![]() | |
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=[]) |
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=[]) |
static | where ($where, $operator=null) |
static | innerjoinAR (ActiveRecord $activeRecord, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | innerjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | leftjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | orderBy (string $orderBy, string $orderDirection='ASC') |
static | dateFormat (string $date_format='d.m.Y - H:i:s') |
static | limit (int $start, int $end) |
static | affectedRows () |
static | count () |
static | get () |
static | debug () |
static | first () |
static | getCollection () |
static | last () |
static | getFirstFromLastQuery () |
static | connector (arConnector $arConnector) |
static | raw (bool $set_raw=true) |
static | getArray (?string $key=null, string|array|null $values=null) |
static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Data Fields | |
const | GLUE = ' > ' |
const | GLUE_SIMPLE = ' - ' |
const | ORG_SEPARATOR = ' | ' |
const | TABLE_NAME = 'orgu_path_storage' |
const | MAX_MIDDLE_PATH_LENGTH = 50 |
Protected Attributes | |
int | $ref_id = 0 |
int | $obj_id = 0 |
string | $path = '' |
![]() | |
bool | $ar_safe_read = true |
string | $connector_container_name = '' |
bool | $is_new = true |
Static Protected Attributes | |
static array | $orgu_names = array() |
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) |
Class ilOrgUnitPathStorage.
Definition at line 25 of file class.ilOrgUnitPathStorage.php.
|
static |
Definition at line 60 of file class.ilOrgUnitPathStorage.php.
Referenced by ilCronUpdateOrgUnitPaths\run().
ilOrgUnitPathStorage::getConnectorContainerName | ( | ) |
Definition at line 203 of file class.ilOrgUnitPathStorage.php.
ilOrgUnitPathStorage::getObjId | ( | ) |
ilOrgUnitPathStorage::getPath | ( | ) |
ilOrgUnitPathStorage::getRefId | ( | ) |
Definition at line 208 of file class.ilOrgUnitPathStorage.php.
References $ref_id.
Referenced by store().
|
static |
Get ref id path array.
bool | $sort_by_title |
Definition at line 125 of file class.ilOrgUnitPathStorage.php.
References $data, $DIC, $ilDB, $q, $ref_id, $res, ilObjOrgUnitTree\_getInstance(), ilObject\_lookupObjectId(), ActiveRecord\count(), ActiveRecord\getArray(), ilObjOrgUnit\getRootOrgRefId(), null, and ActiveRecord\orderBy().
Referenced by ilUserSearchOptions\_getSearchableFieldsInfo(), ilMStListCoursesTableGUI\getTextRepresentationOfOrgUnits(), ilMStShowUserCoursesTableGUI\getTextRepresentationOfOrgUnits(), ilParticipantTableGUI\initFilter(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\initFilter(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\initFilter(), and ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\initFilter().
ilOrgUnitPathStorage::setObjId | ( | int | $obj_id | ) |
ilOrgUnitPathStorage::setPath | ( | string | $path | ) |
ilOrgUnitPathStorage::setRefId | ( | int | $ref_id | ) |
ilOrgUnitPathStorage::store | ( | ) |
Definition at line 67 of file class.ilOrgUnitPathStorage.php.
References $DIC, $ilDB, $res, $user_id, ilObjOrgUnitTree\_getInstance(), ActiveRecord\create(), getRefId(), null, ActiveRecord\update(), and ActiveRecord\where().
|
protected |
Definition at line 47 of file class.ilOrgUnitPathStorage.php.
Referenced by getObjId(), and setObjId().
|
staticprotected |
Definition at line 55 of file class.ilOrgUnitPathStorage.php.
|
protected |
Definition at line 53 of file class.ilOrgUnitPathStorage.php.
|
protected |
Definition at line 40 of file class.ilOrgUnitPathStorage.php.
Referenced by getRefId(), getTextRepresentationOfOrgUnits(), and setRefId().
const ilOrgUnitPathStorage::GLUE = ' > ' |
Definition at line 27 of file class.ilOrgUnitPathStorage.php.
const ilOrgUnitPathStorage::GLUE_SIMPLE = ' - ' |
Definition at line 28 of file class.ilOrgUnitPathStorage.php.
const ilOrgUnitPathStorage::MAX_MIDDLE_PATH_LENGTH = 50 |
Definition at line 31 of file class.ilOrgUnitPathStorage.php.
const ilOrgUnitPathStorage::ORG_SEPARATOR = ' | ' |
Definition at line 29 of file class.ilOrgUnitPathStorage.php.
const ilOrgUnitPathStorage::TABLE_NAME = 'orgu_path_storage' |
Definition at line 30 of file class.ilOrgUnitPathStorage.php.