ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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)
 
- Public Member Functions inherited from CachedActiveRecord
 getCacheIdentifier ()
 
 getTTL ()
 
 __construct (mixed $primary_key=0, ?arConnector $arConnector=null)
 
 afterObjectLoad ()
 
 create ()
 
 read ()
 
 update ()
 
 delete ()
 
- Public Member Functions inherited from ActiveRecord
 getArConnector ()
 
 getArFieldList ()
 
 getConnectorContainerName ()
 Return the Name of your Connector Table More...
 
 setConnectorContainerName (string $connector_container_name)
 
 getPrimaryFieldValue ()
 
 setPrimaryFieldValue ($value)
 
 __construct (mixed $primary_key=0)
 
 storeObjectToCache ()
 
 asStdClass ()
 
 asArray ()
 
 buildFromArray (array $array)
 
 fixDateField ($field_name, string $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 find ($primary_key, array $add_constructor_args=[])
 
- 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 ()
 never use in ILIAS Core, Plugins only More...
 
static preloadObjects ()
 
static additionalParams (array $additional_params)
 
static findOrFail ($primary_key, array $add_constructor_args=[])
 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=[])
 
static where ($where, $operator=null)
 
static innerjoinAR (ActiveRecord $activeRecord, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)
 
static innerjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)
 
static leftjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false)
 
static orderBy (string $orderBy, string $orderDirection='ASC')
 
static dateFormat (string $date_format='d.m.Y - H:i:s')
 
static limit (int $start, int $end)
 
static affectedRows ()
 
static count ()
 
static get ()
 
static debug ()
 
static first ()
 
static getCollection ()
 
static last ()
 
static getFirstFromLastQuery ()
 
static connector (arConnector $arConnector)
 
static raw (bool $set_raw=true)
 
static getArray (?string $key=null, string|array|null $values=null)
 
static _toCamelCase (string $str, bool $capitalise_first_char=false)
 

Protected Attributes

string $identification = null
 true true true text 64 More...
 
string $action = ''
 true text 4000 More...
 
bool $external = false
 true integer 1 More...
 
string $connector_container_name = "il_mm_actions"
 
- 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 ()
 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)
 

Detailed Description

Member Function Documentation

◆ find()

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

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

References null.

Referenced by ilMMAbstractBaseTypeHandlerAction\saveFormFields().

126  {
127  $parent = parent::find($primary_key, $add_constructor_args);
128  if ($parent === null) {
129  $parent = new self();
130  $parent->setIdentification($primary_key);
131  $parent->create();
132  }
133 
134  return $parent;
135  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ilMMTypeActionStorage.
+ Here is the caller graph for this function:

◆ getAction()

ilMMTypeActionStorage::getAction ( )
Returns
string

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

References $action.

79  : string
80  {
81  return $this->action;
82  }

◆ getIdentification()

ilMMTypeActionStorage::getIdentification ( )
Returns
string

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

References $identification.

57  : string
58  {
59  return $this->identification;
60  }
string $identification
true true true text 64

◆ isExternal()

ilMMTypeActionStorage::isExternal ( )
Returns
bool

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

References $external.

101  : bool
102  {
103  return $this->external;
104  }

◆ setAction()

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

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

References $action.

91  {
92  $this->action = $action;
93 
94  return $this;
95  }
Class ilMMTypeActionStorage.

◆ setExternal()

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

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

References $external.

113  {
114  $this->external = $external;
115 
116  return $this;
117  }
Class ilMMTypeActionStorage.

◆ setIdentification()

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

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

References $identification.

69  {
70  $this->identification = $identification;
71 
72  return $this;
73  }
string $identification
true true true text 64
Class ilMMTypeActionStorage.

Field Documentation

◆ $action

string ilMMTypeActionStorage::$action = ''
protected

true text 4000

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

Referenced by getAction(), and setAction().

◆ $connector_container_name

string ilMMTypeActionStorage::$connector_container_name = "il_mm_actions"
protected

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

◆ $external

bool ilMMTypeActionStorage::$external = false
protected

true integer 1

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

Referenced by isExternal(), and setExternal().

◆ $identification

string ilMMTypeActionStorage::$identification = null
protected

true true true text 64

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

Referenced by getIdentification(), and setIdentification().


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