|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer:
Collaboration diagram for ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer:Public Member Functions | |
| getId () | |
| setId (int $id) | |
| getUserId () | |
| setUserId (int $user_id) | |
| getRootTaskid () | |
| setRootTaskid (int $root_task_id) | |
| getCurrentTaskid () | |
| setCurrentTaskid (int $current_task_id) | |
| getState () | |
| setState (int $state) | |
| getTotalNumberoftasks () | |
| setTotalNumberoftasks (int $total_number_of_tasks) | |
| getPercentage () | |
| setPercentage (int $percentage) | |
| getTitle () | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLastHeartbeat () | |
| setLastHeartbeat (int $last_heartbeat) | |
Public Member Functions inherited from ActiveRecord | |
| getArConnector () | |
| getArFieldList () | |
| getConnectorContainerName () | |
| @description 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 () |
| @depracated 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 |
| @con_is_primary true @con_is_unique true @con_has_field true @con_sequence true @con_fieldtype integer @con_length 8 More... | |
| int | $user_id = 0 |
| @con_has_field true @con_fieldtype integer @con_length 8 More... | |
| int | $root_task_id = 0 |
| @con_has_field true @con_fieldtype integer @con_length 8 More... | |
| int | $current_task_id = 0 |
| @con_has_field true @con_fieldtype integer @con_length 8 More... | |
| int | $state = State::ERROR |
| @con_has_field true @con_fieldtype integer @con_length 2 More... | |
| int | $total_number_of_tasks = 0 |
| @con_has_field true @con_fieldtype integer @con_length 4 More... | |
| int | $percentage = 0 |
| @con_has_field true @con_fieldtype integer @con_length 2 More... | |
| string | $title = '' |
| @con_has_field true @con_fieldtype text @con_length 255 More... | |
| string | $description = '' |
| @con_has_field true @con_fieldtype text @con_length 255 More... | |
| int | $last_heartbeat = 0 |
| @con_has_field true @con_fieldtype timestamp 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 () |
| @description Returns an instance of the instatiated calling active record (needs to be done in static methods) @TODO : This should be cached somehow More... | |
| static | fromCamelCase (string $str) |
Definition at line 23 of file BucketContainer.php.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getCurrentTaskid | ( | ) |
Definition at line 123 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$current_task_id.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getDescription | ( | ) |
Definition at line 173 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$description.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getBucketMetaOfUser().
Here is the caller graph for this function:| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getId | ( | ) |
Definition at line 93 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$id.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getBucketIdsByState().
Here is the caller graph for this function:| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getLastHeartbeat | ( | ) |
Definition at line 183 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$last_heartbeat.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getPercentage | ( | ) |
Definition at line 153 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$percentage.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getBucketMetaOfUser().
Here is the caller graph for this function:| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getRootTaskid | ( | ) |
Definition at line 113 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$root_task_id.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getState | ( | ) |
Definition at line 133 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$state.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getBucketMetaOfUser().
Here is the caller graph for this function:| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getTitle | ( | ) |
Definition at line 163 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$title.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getBucketMetaOfUser().
Here is the caller graph for this function:| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getTotalNumberoftasks | ( | ) |
Definition at line 143 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$total_number_of_tasks.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::getUserId | ( | ) |
Definition at line 103 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$user_id.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getBucketMetaOfUser().
Here is the caller graph for this function:
|
static |
Reimplemented from ActiveRecord.
Definition at line 25 of file BucketContainer.php.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setCurrentTaskid | ( | int | $current_task_id | ) |
Definition at line 128 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$current_task_id.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setDescription | ( | string | $description | ) |
Definition at line 178 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$description.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setId | ( | int | $id | ) |
Definition at line 98 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$id.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setLastHeartbeat | ( | int | $last_heartbeat | ) |
Definition at line 188 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$last_heartbeat.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setPercentage | ( | int | $percentage | ) |
Definition at line 158 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$percentage.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setRootTaskid | ( | int | $root_task_id | ) |
Definition at line 118 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$root_task_id.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setState | ( | int | $state | ) |
Definition at line 138 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$state.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setTitle | ( | string | $title | ) |
Definition at line 168 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$title.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setTotalNumberoftasks | ( | int | $total_number_of_tasks | ) |
Definition at line 148 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$total_number_of_tasks.
| ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer::setUserId | ( | int | $user_id | ) |
Definition at line 108 of file BucketContainer.php.
References ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$user_id.
|
protected |
@con_has_field true @con_fieldtype integer @con_length 8
Definition at line 56 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getCurrentTaskid(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setCurrentTaskid().
|
protected |
@con_has_field true @con_fieldtype text @con_length 255
Definition at line 86 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getDescription(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setDescription().
|
protected |
@con_is_primary true @con_is_unique true @con_has_field true @con_sequence true @con_fieldtype integer @con_length 8
Definition at line 38 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getId(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setId().
|
protected |
@con_has_field true @con_fieldtype timestamp
Definition at line 91 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getLastHeartbeat(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setLastHeartbeat().
|
protected |
@con_has_field true @con_fieldtype integer @con_length 2
Definition at line 74 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getPercentage(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setPercentage().
|
protected |
@con_has_field true @con_fieldtype integer @con_length 8
Definition at line 50 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getRootTaskid(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setRootTaskid().
|
protected |
@con_has_field true @con_fieldtype integer @con_length 2
Definition at line 62 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getState(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setState().
|
protected |
@con_has_field true @con_fieldtype text @con_length 255
Definition at line 80 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getTitle(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setTitle().
|
protected |
@con_has_field true @con_fieldtype integer @con_length 4
Definition at line 68 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getTotalNumberoftasks(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setTotalNumberoftasks().
|
protected |
@con_has_field true @con_fieldtype integer @con_length 8
Definition at line 44 of file BucketContainer.php.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getUserId(), and ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setUserId().