ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMMCustomItemStorage Class Reference

Class ilMMCustomItemStorage. More...

+ Inheritance diagram for ilMMCustomItemStorage:
+ Collaboration diagram for ilMMCustomItemStorage:

Public Member Functions

 getIdentifier ()
 
 setIdentifier (string $identifier)
 
 getType ()
 
 setType (string $type)
 
 isTopItem ()
 
 setTopItem (bool $top_item)
 
 getAction ()
 
 setAction (string $action)
 
 getDefaultTitle ()
 
 setDefaultTitle (string $default_title)
 
 getCache ()
 
- Public Member Functions inherited from CachedActiveRecord
 getCache ()
 
 getCacheIdentifier ()
 
 getTTL ()
 
 __construct ($primary_key=0, arConnector $connector=null)
 
 afterObjectLoad ()
 
 storeObjectToCache ()
 
 buildFromArray (array $array)
 
 store ()
 
 save ()
 
 create ()
 
 copy ($new_id=0)
 
 read ()
 
 update ()
 
 delete ()
 
- 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)
 

Protected Attributes

 $identifier = ''
 
 $type = ''
 
 $action = ""
 
 $default_title = ""
 
 $top_item = false
 
 $connector_container_name = "il_mm_custom_items"
 
- Protected Attributes inherited from ActiveRecord
 $ar_safe_read = true
 
 $connector_container_name = ''
 

Additional Inherited Members

- Static Public Member Functions inherited from CachedActiveRecord
static find ($primary_key, array $add_constructor_args=array())
 
static connector (arConnector $connector)
 
- 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 inherited from ActiveRecord
const ACTIVE_RECORD_VERSION = '2.0.7'
 
- 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)
 

Detailed Description

Member Function Documentation

◆ getAction()

ilMMCustomItemStorage::getAction ( )
Returns
string

Definition at line 128 of file class.ilMMCustomItemStorage.php.

References $action.

128  : string
129  {
130  return $this->action;
131  }

◆ getCache()

ilMMCustomItemStorage::getCache ( )

Definition at line 172 of file class.ilMMCustomItemStorage.php.

References ilGlobalCache\COMP_GLOBAL_SCREEN, and ilGlobalCache\getInstance().

+ Here is the call graph for this function:

◆ getDefaultTitle()

ilMMCustomItemStorage::getDefaultTitle ( )
Returns
string

Definition at line 150 of file class.ilMMCustomItemStorage.php.

References $default_title.

Referenced by ilMMCustomProvider\getSingleCustomItem().

150  : string
151  {
152  return $this->default_title;
153  }
+ Here is the caller graph for this function:

◆ getIdentifier()

ilMMCustomItemStorage::getIdentifier ( )
Returns
string

Definition at line 62 of file class.ilMMCustomItemStorage.php.

References $identifier.

Referenced by ilMMCustomProvider\getSingleCustomItem().

62  : string
63  {
64  return $this->identifier;
65  }
+ Here is the caller graph for this function:

◆ getType()

ilMMCustomItemStorage::getType ( )
Returns
string

Definition at line 84 of file class.ilMMCustomItemStorage.php.

References $type.

Referenced by ilMMCustomProvider\getSingleCustomItem().

84  : string
85  {
86  return $this->type;
87  }
+ Here is the caller graph for this function:

◆ isTopItem()

ilMMCustomItemStorage::isTopItem ( )
Returns
bool

Definition at line 106 of file class.ilMMCustomItemStorage.php.

References $top_item.

106  : bool
107  {
108  return $this->top_item;
109  }

◆ setAction()

ilMMCustomItemStorage::setAction ( string  $action)
Parameters
string$action
Returns
ilMMCustomItemStorage

Definition at line 139 of file class.ilMMCustomItemStorage.php.

References $action.

140  {
141  $this->action = $action;
142 
143  return $this;
144  }
Class ilMMCustomItemStorage.

◆ setDefaultTitle()

ilMMCustomItemStorage::setDefaultTitle ( string  $default_title)
Parameters
string$default_title
Returns
ilMMCustomItemStorage

Definition at line 161 of file class.ilMMCustomItemStorage.php.

References $default_title.

162  {
163  $this->default_title = $default_title;
164 
165  return $this;
166  }
Class ilMMCustomItemStorage.

◆ setIdentifier()

ilMMCustomItemStorage::setIdentifier ( string  $identifier)
Parameters
string$identifier
Returns
ilMMCustomItemStorage

Definition at line 73 of file class.ilMMCustomItemStorage.php.

References $identifier.

74  {
75  $this->identifier = $identifier;
76 
77  return $this;
78  }
Class ilMMCustomItemStorage.

◆ setTopItem()

ilMMCustomItemStorage::setTopItem ( bool  $top_item)
Parameters
bool$top_item
Returns
ilMMCustomItemStorage

Definition at line 117 of file class.ilMMCustomItemStorage.php.

References $top_item.

118  {
119  $this->top_item = $top_item;
120 
121  return $this;
122  }
Class ilMMCustomItemStorage.

◆ setType()

ilMMCustomItemStorage::setType ( string  $type)
Parameters
string$type
Returns
ilMMCustomItemStorage

Definition at line 95 of file class.ilMMCustomItemStorage.php.

References $type.

96  {
97  $this->type = $type;
98 
99  return $this;
100  }
Class ilMMCustomItemStorage.

Field Documentation

◆ $action

ilMMCustomItemStorage::$action = ""
protected

Definition at line 36 of file class.ilMMCustomItemStorage.php.

Referenced by getAction(), and setAction().

◆ $connector_container_name

ilMMCustomItemStorage::$connector_container_name = "il_mm_custom_items"
protected

Definition at line 56 of file class.ilMMCustomItemStorage.php.

◆ $default_title

ilMMCustomItemStorage::$default_title = ""
protected

Definition at line 44 of file class.ilMMCustomItemStorage.php.

Referenced by getDefaultTitle(), and setDefaultTitle().

◆ $identifier

ilMMCustomItemStorage::$identifier = ''
protected

Definition at line 20 of file class.ilMMCustomItemStorage.php.

Referenced by getIdentifier(), and setIdentifier().

◆ $top_item

ilMMCustomItemStorage::$top_item = false
protected

Definition at line 52 of file class.ilMMCustomItemStorage.php.

Referenced by isTopItem(), and setTopItem().

◆ $type

ilMMCustomItemStorage::$type = ''
protected

Definition at line 28 of file class.ilMMCustomItemStorage.php.

Referenced by getType(), and setType().


The documentation for this class was generated from the following file: