ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilOrgUnitPathStorage. More...
Public Member Functions | |
store () | |
getConnectorContainerName () | |
getRefId () | |
setRefId ($ref_id) | |
getPath () | |
setPath ($path) | |
getObjId () | |
setObjId ($obj_id) | |
Public Member Functions inherited from ActiveRecord | |
getArConnector () | |
getArFieldList () | |
getConnectorContainerName () | |
setConnectorContainerName ($connector_container_name) | |
getPrimaryFieldValue () | |
setPrimaryFieldValue ($value) | |
__construct ($primary_key=0, arConnector $connector=null) | |
storeObjectToCache () | |
__getConvertedDateFieldsAsArray ($format=null) | |
__asCsv ($separator=';', $header=false) | |
__asArray () | |
__asStdClass () | |
__asSerializedObject () | |
buildFromArray (array $array) | |
fixDateField ($field_name, $value) | |
sleep ($field_name) | |
wakeUp ($field_name, $field_value) | |
getArrayForDb () | |
getArrayForConnector () | |
installConnector () | |
store () | |
save () | |
create () | |
copy ($new_id=0) | |
afterObjectLoad () | |
read () | |
update () | |
delete () | |
__call ($name, $arguments) | |
Static Public Member Functions | |
static | getAllOrguRefIds () |
static | getTextRepresentationOfOrgUnits ($sort_by_title=true) |
Get ref id path array. More... | |
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 | GLUE = ' > ' |
const | GLUE_SIMPLE = ' - ' |
const | ORG_SEPARATOR = ' | ' |
const | TABLE_NAME = 'orgu_path_storage' |
Data Fields inherited from ActiveRecord | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Attributes | |
$ref_id = 0 | |
$obj_id = 0 | |
$path = '' | |
Protected Attributes inherited from ActiveRecord | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Static Protected Attributes | |
static | $orgu_names = array() |
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 ilOrgUnitPathStorage.
Definition at line 9 of file class.ilOrgUnitPathStorage.php.
|
static |
Definition at line 49 of file class.ilOrgUnitPathStorage.php.
References $names.
Referenced by ilCronUpdateOrgUnitPaths\run().
ilOrgUnitPathStorage::getConnectorContainerName | ( | ) |
Definition at line 229 of file class.ilOrgUnitPathStorage.php.
ilOrgUnitPathStorage::getObjId | ( | ) |
ilOrgUnitPathStorage::getPath | ( | ) |
ilOrgUnitPathStorage::getRefId | ( | ) |
Definition at line 237 of file class.ilOrgUnitPathStorage.php.
References $ref_id.
Referenced by store().
|
static |
Get ref id path array.
bool | $sort_by_title |
Definition at line 109 of file class.ilOrgUnitPathStorage.php.
References $data, $DIC, $ilDB, $names, $path, $ref_id, $res, ilObjOrgUnitTree\_getInstance(), ilObject2\_lookupObjectId(), array, ActiveRecord\count(), ActiveRecord\getArray(), ilObjOrgUnit\getRootOrgRefId(), and ActiveRecord\orderBy().
Referenced by ilUserSearchOptions\_getSearchableFieldsInfo(), and ilParticipantTableGUI\initFilter().
ilOrgUnitPathStorage::setObjId | ( | $obj_id | ) |
int | $obj_id |
Definition at line 277 of file class.ilOrgUnitPathStorage.php.
References $obj_id.
ilOrgUnitPathStorage::setPath | ( | $path | ) |
string | $path |
Definition at line 261 of file class.ilOrgUnitPathStorage.php.
References $path.
ilOrgUnitPathStorage::setRefId | ( | $ref_id | ) |
int | $ref_id |
Definition at line 245 of file class.ilOrgUnitPathStorage.php.
References $ref_id.
ilOrgUnitPathStorage::store | ( | ) |
Definition at line 56 of file class.ilOrgUnitPathStorage.php.
References $DIC, $ilDB, $res, ilObjOrgUnitTree\_getInstance(), array, ActiveRecord\create(), getRefId(), ActiveRecord\update(), and ActiveRecord\where().
|
protected |
Definition at line 32 of file class.ilOrgUnitPathStorage.php.
Referenced by getObjId(), and setObjId().
|
staticprotected |
Definition at line 43 of file class.ilOrgUnitPathStorage.php.
|
protected |
Definition at line 39 of file class.ilOrgUnitPathStorage.php.
Referenced by getPath(), getTextRepresentationOfOrgUnits(), and setPath().
|
protected |
Definition at line 24 of file class.ilOrgUnitPathStorage.php.
Referenced by getRefId(), getTextRepresentationOfOrgUnits(), and setRefId().
const ilOrgUnitPathStorage::GLUE = ' > ' |
Definition at line 11 of file class.ilOrgUnitPathStorage.php.
const ilOrgUnitPathStorage::GLUE_SIMPLE = ' - ' |
Definition at line 12 of file class.ilOrgUnitPathStorage.php.
const ilOrgUnitPathStorage::ORG_SEPARATOR = ' | ' |
Definition at line 13 of file class.ilOrgUnitPathStorage.php.
const ilOrgUnitPathStorage::TABLE_NAME = 'orgu_path_storage' |
Definition at line 14 of file class.ilOrgUnitPathStorage.php.