ILIAS
release_8 Revision v8.19
|
Class ilMMItemStorage. More...
Public Member Functions | |
create () | |
getCache () | |
getIdentification () | |
setIdentification (string $identification) | |
isActive () | |
setActive (bool $active) | |
getPosition () | |
setPosition (int $position) | |
getParentIdentification () | |
setParentIdentification (string $parent_identification) | |
getIconId () | |
setIconId (string $icon_id) | |
![]() | |
getCache () | |
getCacheIdentifier () | |
getTTL () | |
__construct ($primary_key=0, arConnector $connector=null) | |
afterObjectLoad () | |
create () | |
copy (int $new_id=0) | |
read () | |
update () | |
delete () | |
![]() | |
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 | register (isItem $item) |
![]() | |
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) |
Protected Attributes | |
string | $identification |
true true true text 64 More... | |
bool | $active = true |
true integer 1 More... | |
int | $position = 0 |
true integer 4 More... | |
string | $parent_identification = '' |
true text 256 More... | |
string | $icon_id = '' |
true text 256 More... | |
string | $connector_container_name = "il_mm_items" |
![]() | |
bool | $ar_safe_read = true |
string | $connector_container_name = '' |
bool | $is_new = true |
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 ilMMItemStorage.
Definition at line 27 of file class.ilMMItemStorage.php.
ilMMItemStorage::create | ( | ) |
Definition at line 58 of file class.ilMMItemStorage.php.
References getIdentification(), and CachedActiveRecord\update().
ilMMItemStorage::getCache | ( | ) |
Definition at line 71 of file class.ilMMItemStorage.php.
References ilGlobalCache\COMP_GLOBAL_SCREEN, and ilGlobalCache\getInstance().
ilMMItemStorage::getIconId | ( | ) |
ilMMItemStorage::getIdentification | ( | ) |
Definition at line 118 of file class.ilMMItemStorage.php.
References $identification.
Referenced by create().
ilMMItemStorage::getParentIdentification | ( | ) |
Definition at line 172 of file class.ilMMItemStorage.php.
References $parent_identification.
ilMMItemStorage::getPosition | ( | ) |
ilMMItemStorage::isActive | ( | ) |
|
static |
isItem | $item |
Definition at line 34 of file class.ilMMItemStorage.php.
Referenced by ilMMAbstractItemFacade\__construct(), ilMMItemRepository\__construct(), ilMMAbstractItemFacade\create(), and ILIAS\MainMenu\Provider\CustomMainBarProvider\getSingleCustomItem().
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 |
true integer 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 |
true text 256
Definition at line 108 of file class.ilMMItemStorage.php.
Referenced by getIconId(), and setIconId().
|
protected |
true true true text 64
Definition at line 84 of file class.ilMMItemStorage.php.
Referenced by getIdentification(), and setIdentification().
|
protected |
true text 256
Definition at line 102 of file class.ilMMItemStorage.php.
Referenced by getParentIdentification(), and setParentIdentification().
|
protected |
true integer 4
Definition at line 96 of file class.ilMMItemStorage.php.
Referenced by getPosition(), and setPosition().