ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer Class Reference
+ Inheritance diagram for ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer:
+ Collaboration diagram for ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer:

Public Member Functions

 getId ()
 
 setId (int $id)
 
 getType ()
 
 setType (string $type)
 
 getClassPath ()
 
 setClassPath (string $class_path)
 
 getClassName ()
 
 setClassName (string $class_name)
 
 getBucketId ()
 
 setBucketId (int $bucket_id)
 
- 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 returnDbTableName ()
 
- 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

int $id = null
 true true true true integer 8 More...
 
string $type = null
 true text 256 More...
 
string $class_path = null
 true text 256 More...
 
string $class_name = null
 true text 256 More...
 
int $bucket_id = null
 integer true 8 More...
 
- 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

Definition at line 21 of file TaskContainer.php.

Member Function Documentation

◆ getBucketId()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::getBucketId ( )

◆ getClassName()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::getClassName ( )

◆ getClassPath()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::getClassPath ( )

◆ getId()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::getId ( )

Definition at line 62 of file TaskContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer\$id.

Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveTask().

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

◆ getType()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::getType ( )

Definition at line 72 of file TaskContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer\$type.

72  : string
73  {
74  return $this->type;
75  }

◆ returnDbTableName()

static ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::returnDbTableName ( )
static

Definition at line 23 of file TaskContainer.php.

23  : string
24  {
25  return "il_bt_task";
26  }

◆ setBucketId()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::setBucketId ( int  $bucket_id)

Definition at line 107 of file TaskContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer\$bucket_id.

107  : void
108  {
109  $this->bucket_id = $bucket_id;
110  }

◆ setClassName()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::setClassName ( string  $class_name)

Definition at line 97 of file TaskContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer\$class_name.

97  : void
98  {
99  $this->class_name = $class_name;
100  }

◆ setClassPath()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::setClassPath ( string  $class_path)

Definition at line 87 of file TaskContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer\$class_path.

87  : void
88  {
89  $this->class_path = $class_path;
90  }

◆ setId()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::setId ( int  $id)

Definition at line 67 of file TaskContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer\$id.

67  : void
68  {
69  $this->id = $id;
70  }

◆ setType()

ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::setType ( string  $type)

Definition at line 77 of file TaskContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer\$type.

77  : void
78  {
79  $this->type = $type;
80  }

Field Documentation

◆ $bucket_id

int ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::$bucket_id = null
protected

◆ $class_name

string ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::$class_name = null
protected

◆ $class_path

string ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::$class_path = null
protected

◆ $id

int ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::$id = null
protected

◆ $type

string ILIAS\BackgroundTasks\Implementation\Persistence\TaskContainer::$type = null
protected

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