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

Class ilMMTypeActionStorage. More...

+ Inheritance diagram for ilMMTypeActionStorage:
+ Collaboration diagram for ilMMTypeActionStorage:

Public Member Functions

 getIdentification ()
 
 setIdentification (string $identification)
 
 getAction ()
 
 setAction (string $action)
 
 isExternal ()
 
 setExternal (bool $external)
 
 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)
 

Static Public Member Functions

static find ($primary_key, array $add_constructor_args=array())
 
- 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)
 

Protected Attributes

 $identification
 
 $action = ''
 
 $external = false
 
 $connector_container_name = "il_mm_actions"
 
- Protected Attributes inherited from ActiveRecord
 $ar_safe_read = true
 
 $connector_container_name = ''
 

Additional Inherited Members

- 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

◆ find()

static ilMMTypeActionStorage::find (   $primary_key,
array  $add_constructor_args = array() 
)
static
Returns
ilMMTypeActionStorage

Definition at line 121 of file class.ilMMTypeActionStorage.php.

Referenced by ilMMAbstractBaseTypeHandlerAction\saveFormFields().

122  {
123  $parent = parent::find($primary_key, $add_constructor_args);
124  if ($parent === null) {
125  $parent = new self();
126  $parent->setIdentification($primary_key);
127  $parent->create();
128  }
129 
130  return $parent;
131  }
+ Here is the caller graph for this function:

◆ getAction()

ilMMTypeActionStorage::getAction ( )
Returns
string

Definition at line 68 of file class.ilMMTypeActionStorage.php.

References $action.

68  : string
69  {
70  return $this->action;
71  }

◆ getCache()

ilMMTypeActionStorage::getCache ( )

Definition at line 112 of file class.ilMMTypeActionStorage.php.

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

+ Here is the call graph for this function:

◆ getIdentification()

ilMMTypeActionStorage::getIdentification ( )
Returns
string

Definition at line 46 of file class.ilMMTypeActionStorage.php.

References $identification.

46  : string
47  {
48  return $this->identification;
49  }

◆ isExternal()

ilMMTypeActionStorage::isExternal ( )
Returns
bool

Definition at line 90 of file class.ilMMTypeActionStorage.php.

References $external.

90  : bool
91  {
92  return $this->external;
93  }

◆ setAction()

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

Definition at line 79 of file class.ilMMTypeActionStorage.php.

References $action.

80  {
81  $this->action = $action;
82 
83  return $this;
84  }
Class ilMMTypeActionStorage.

◆ setExternal()

ilMMTypeActionStorage::setExternal ( bool  $external)
Parameters
bool$external
Returns
ilMMTypeActionStorage

Definition at line 101 of file class.ilMMTypeActionStorage.php.

References $external.

102  {
103  $this->external = $external;
104 
105  return $this;
106  }
Class ilMMTypeActionStorage.

◆ setIdentification()

ilMMTypeActionStorage::setIdentification ( string  $identification)
Parameters
string$identification
Returns
ilMMTypeActionStorage

Definition at line 57 of file class.ilMMTypeActionStorage.php.

References $identification.

58  {
59  $this->identification = $identification;
60 
61  return $this;
62  }
Class ilMMTypeActionStorage.

Field Documentation

◆ $action

ilMMTypeActionStorage::$action = ''
protected

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

Referenced by getAction(), and setAction().

◆ $connector_container_name

ilMMTypeActionStorage::$connector_container_name = "il_mm_actions"
protected

Definition at line 40 of file class.ilMMTypeActionStorage.php.

◆ $external

ilMMTypeActionStorage::$external = false
protected

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

Referenced by isExternal(), and setExternal().

◆ $identification

ilMMTypeActionStorage::$identification
protected

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

Referenced by getIdentification(), and setIdentification().


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