|
ILIAS
release_8 Revision v8.24
|
Class ilTermsOfServiceDocument. More...
Inheritance diagram for ilTermsOfServiceDocument:
Collaboration diagram for ilTermsOfServiceDocument:Public Member Functions | |
| content () | |
| title () | |
| id () | |
| read () | |
| buildFromArray (array $array) | |
| create () | |
| update () | |
| delete () | |
| criteria () | |
| attachCriterion (ilTermsOfServiceDocumentCriterionAssignment $criterionAssignment) | |
| detachCriterion (ilTermsOfServiceDocumentCriterionAssignment $criterionAssignment) | |
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 ($primary_key=0) | |
| storeObjectToCache () | |
| asStdClass () | |
| buildFromArray (array $array) | |
| fixDateField ($field_name, $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) | |
| content () | |
| title () | |
| id () | |
| criteria () | |
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=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, array $fields=array(' *'), string $operator='=', $both_external=false) |
| static | innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
| static | leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
| static | orderBy ($orderBy, string $orderDirection='ASC') |
| static | dateFormat (string $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 (bool $set_raw=true) |
| static | getArray (?string $key=null, $values=null) |
| static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Protected Attributes | |
| int | $id = null |
| int | $creation_ts = 0 |
| int | $modification_ts = 0 |
| int | $owner_usr_id = 0 |
| int | $last_modified_usr_id = 0 |
| int | $sorting = 0 |
| string | $title = null |
| string | $text = '' |
| array | $criteria = [] |
| array | $initialPersistedCriteria = [] |
Protected Attributes inherited from ActiveRecord | |
| bool | $ar_safe_read = true |
| string | $connector_container_name = '' |
| bool | $is_new = true |
Private Attributes | |
| const | TABLE_NAME = 'tos_documents' |
| bool | $criteriaFetched = false |
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) |
Class ilTermsOfServiceDocument.
Definition at line 25 of file class.ilTermsOfServiceDocument.php.
| ilTermsOfServiceDocument::attachCriterion | ( | ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment | ) |
| ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment |
Definition at line 201 of file class.ilTermsOfServiceDocument.php.
References criteria(), ilTermsOfServiceDocumentCriterionAssignment\getCriterionId(), and ilTermsOfServiceDocumentCriterionAssignment\getCriterionValue().
Here is the call graph for this function:| ilTermsOfServiceDocument::buildFromArray | ( | array | $array | ) |
Reimplemented from ActiveRecord.
Definition at line 129 of file class.ilTermsOfServiceDocument.php.
| ilTermsOfServiceDocument::content | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 107 of file class.ilTermsOfServiceDocument.php.
References $text.
| ilTermsOfServiceDocument::create | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 138 of file class.ilTermsOfServiceDocument.php.
References $criteria, criteria(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilTermsOfServiceDocument::criteria | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 192 of file class.ilTermsOfServiceDocument.php.
References $criteria.
Referenced by attachCriterion(), create(), delete(), detachCriterion(), ilTermsOfServiceDocumentGUI\detachCriterionAssignment(), ilTermsOfServiceDocumentGUI\saveChangeCriterionForm(), ilTermsOfServiceDocumentGUI\showChangeCriterionForm(), and update().
Here is the caller graph for this function:| ilTermsOfServiceDocument::delete | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 181 of file class.ilTermsOfServiceDocument.php.
References criteria().
Here is the call graph for this function:| ilTermsOfServiceDocument::detachCriterion | ( | ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment | ) |
| ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment |
| OutOfBoundsException |
Definition at line 220 of file class.ilTermsOfServiceDocument.php.
References ActiveRecord\count(), criteria(), ilTermsOfServiceDocumentCriterionAssignment\equals(), ilTermsOfServiceDocumentCriterionAssignment\getCriterionId(), and ilTermsOfServiceDocumentCriterionAssignment\getCriterionValue().
Referenced by ilTermsOfServiceDocumentGUI\detachCriterionAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTermsOfServiceDocument::id | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 117 of file class.ilTermsOfServiceDocument.php.
References $id.
| ilTermsOfServiceDocument::read | ( | ) |
| arException |
Reimplemented from ActiveRecord.
Definition at line 122 of file class.ilTermsOfServiceDocument.php.
|
static |
Reimplemented from ActiveRecord.
Definition at line 102 of file class.ilTermsOfServiceDocument.php.
References TABLE_NAME.
| ilTermsOfServiceDocument::title | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 112 of file class.ilTermsOfServiceDocument.php.
References $title.
| ilTermsOfServiceDocument::update | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 152 of file class.ilTermsOfServiceDocument.php.
References $criteria, ActiveRecord\count(), criteria(), and ILIAS\Survey\Mode\getId().
Referenced by ilTermsOfServiceDocumentGUI\detachCriterionAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 45 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 95 of file class.ilTermsOfServiceDocument.php.
Referenced by create(), criteria(), and update().
|
private |
Definition at line 100 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 37 of file class.ilTermsOfServiceDocument.php.
Referenced by id().
|
protected |
Definition at line 98 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 69 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 53 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 61 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 77 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 92 of file class.ilTermsOfServiceDocument.php.
Referenced by content().
|
protected |
Definition at line 85 of file class.ilTermsOfServiceDocument.php.
Referenced by title().
|
private |
Definition at line 27 of file class.ilTermsOfServiceDocument.php.
Referenced by returnDbTableName().