|
ILIAS
release_8 Revision v8.24
|
Class ilMMItemStorage. More...
Inheritance diagram for ilMMItemStorage:
Collaboration diagram for ilMMItemStorage:Public Member Functions | |
| create () | |
| getCache () | |
| @inheritDoc More... | |
| getIdentification () | |
| setIdentification (string $identification) | |
| isActive () | |
| setActive (bool $active) | |
| getPosition () | |
| setPosition (int $position) | |
| getParentIdentification () | |
| setParentIdentification (string $parent_identification) | |
| getIconId () | |
| setIconId (string $icon_id) | |
Public Member Functions inherited from CachedActiveRecord | |
| getCache () | |
| getCacheIdentifier () | |
| getTTL () | |
| __construct ($primary_key=0, arConnector $connector=null) | |
| @inheritDoc More... | |
| afterObjectLoad () | |
| create () | |
| copy (int $new_id=0) | |
| @inheritDoc More... | |
| read () | |
| update () | |
| delete () | |
Public Member Functions inherited from ActiveRecord | |
| getArConnector () | |
| getArFieldList () | |
| getConnectorContainerName () | |
| @description 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 | register (isItem $item) |
Static Public Member Functions inherited from ActiveRecord | |
| 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 () |
| @depracated 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) |
Protected Attributes | |
| string | $identification |
| @con_is_primary true @con_is_unique true @con_has_field true @con_fieldtype text @con_length 64 More... | |
| bool | $active = true |
| @con_has_field true @con_fieldtype integer @con_length 1 More... | |
| int | $position = 0 |
| @con_has_field true @con_fieldtype integer @con_length 4 More... | |
| string | $parent_identification = '' |
| @con_has_field true @con_fieldtype text @con_length 256 More... | |
| string | $icon_id = '' |
| @con_has_field true @con_fieldtype text @con_length 256 More... | |
| string | $connector_container_name = "il_mm_items" |
Protected Attributes inherited from ActiveRecord | |
| bool | $ar_safe_read = true |
| string | $connector_container_name = '' |
| bool | $is_new = true |
Additional Inherited Members | |
Protected Member Functions inherited from ActiveRecord | |
| installDatabase () | |
Static Protected Member Functions inherited from ActiveRecord | |
| static | getCalledClass () |
| @description Returns an instance of the instatiated calling active record (needs to be done in static methods) @TODO : This should be cached somehow More... | |
| static | fromCamelCase (string $str) |
Class ilMMItemStorage.
Definition at line 27 of file class.ilMMItemStorage.php.
| ilMMItemStorage::create | ( | ) |
Reimplemented from CachedActiveRecord.
Definition at line 58 of file class.ilMMItemStorage.php.
References getIdentification(), and CachedActiveRecord\update().
Here is the call graph for this function:| ilMMItemStorage::getCache | ( | ) |
@inheritDoc
Reimplemented from CachedActiveRecord.
Definition at line 71 of file class.ilMMItemStorage.php.
References ilGlobalCache\COMP_GLOBAL_SCREEN, and ilGlobalCache\getInstance().
Here is the call graph for this function:| ilMMItemStorage::getIconId | ( | ) |
Definition at line 190 of file class.ilMMItemStorage.php.
References $icon_id.
| ilMMItemStorage::getIdentification | ( | ) |
Definition at line 118 of file class.ilMMItemStorage.php.
References $identification.
Referenced by create().
Here is the caller graph for this function:| ilMMItemStorage::getParentIdentification | ( | ) |
Definition at line 172 of file class.ilMMItemStorage.php.
References $parent_identification.
| ilMMItemStorage::getPosition | ( | ) |
Definition at line 154 of file class.ilMMItemStorage.php.
References $position.
| ilMMItemStorage::isActive | ( | ) |
Definition at line 136 of file class.ilMMItemStorage.php.
References $active.
|
static |
| isItem | $item |
Definition at line 34 of file class.ilMMItemStorage.php.
Referenced by ilMMItemRepository\__construct(), ilMMAbstractItemFacade\__construct(), ilMMAbstractItemFacade\create(), and ILIAS\MainMenu\Provider\CustomMainBarProvider\getSingleCustomItem().
Here is the caller graph for this function:| ilMMItemStorage::setActive | ( | bool | $active | ) |
| bool | $active |
Definition at line 145 of file class.ilMMItemStorage.php.
References $active.
| ilMMItemStorage::setIconId | ( | string | $icon_id | ) |
| string | $icon_id |
Definition at line 201 of file class.ilMMItemStorage.php.
References $icon_id.
| ilMMItemStorage::setIdentification | ( | string | $identification | ) |
| string | $identification |
Definition at line 127 of file class.ilMMItemStorage.php.
References $identification.
| ilMMItemStorage::setParentIdentification | ( | string | $parent_identification | ) |
| string | $parent_identification |
Definition at line 181 of file class.ilMMItemStorage.php.
References $parent_identification.
| ilMMItemStorage::setPosition | ( | int | $position | ) |
| int | $position |
Definition at line 163 of file class.ilMMItemStorage.php.
References $position.
|
protected |
@con_has_field true @con_fieldtype integer @con_length 1
Definition at line 90 of file class.ilMMItemStorage.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 112 of file class.ilMMItemStorage.php.
|
protected |
@con_has_field true @con_fieldtype text @con_length 256
Definition at line 108 of file class.ilMMItemStorage.php.
Referenced by getIconId(), and setIconId().
|
protected |
@con_is_primary true @con_is_unique true @con_has_field true @con_fieldtype text @con_length 64
Definition at line 84 of file class.ilMMItemStorage.php.
Referenced by getIdentification(), and setIdentification().
|
protected |
@con_has_field true @con_fieldtype text @con_length 256
Definition at line 102 of file class.ilMMItemStorage.php.
Referenced by getParentIdentification(), and setParentIdentification().
|
protected |
@con_has_field true @con_fieldtype integer @con_length 4
Definition at line 96 of file class.ilMMItemStorage.php.
Referenced by getPosition(), and setPosition().