ILIAS
release_8 Revision v8.23
|
Class ilTermsOfServiceDocument. More...
Public Member Functions | |
content () | |
title () | |
id () | |
read () | |
buildFromArray (array $array) | |
create () | |
update () | |
delete () | |
criteria () | |
attachCriterion (ilTermsOfServiceDocumentCriterionAssignment $criterionAssignment) | |
detachCriterion (ilTermsOfServiceDocumentCriterionAssignment $criterionAssignment) | |
![]() | |
getArConnector () | |
getArFieldList () | |
getConnectorContainerName () | |
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) | |
Static Public Member Functions | |
static | returnDbTableName () |
![]() | |
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=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 = [] |
![]() | |
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 | |
![]() | |
installDatabase () | |
![]() | |
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) |
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().
ilTermsOfServiceDocument::buildFromArray | ( | array | $array | ) |
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 | ( | ) |
Definition at line 138 of file class.ilTermsOfServiceDocument.php.
References $criteria, criteria(), and ILIAS\Survey\Mode\getId().
ilTermsOfServiceDocument::criteria | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 192 of file class.ilTermsOfServiceDocument.php.
References $criteria.
Referenced by attachCriterion(), create(), delete(), detachCriterion(), and update().
ilTermsOfServiceDocument::delete | ( | ) |
Definition at line 181 of file class.ilTermsOfServiceDocument.php.
References criteria().
ilTermsOfServiceDocument::detachCriterion | ( | ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment | ) |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment |
OutOfBoundsException |
Definition at line 220 of file class.ilTermsOfServiceDocument.php.
References $criteria, ActiveRecord\count(), criteria(), ilTermsOfServiceDocumentCriterionAssignment\equals(), ilTermsOfServiceDocumentCriterionAssignment\getCriterionId(), ilTermsOfServiceDocumentCriterionAssignment\getCriterionValue(), ILIAS\Survey\Mode\getId(), and ActiveRecord\where().
ilTermsOfServiceDocument::id | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 117 of file class.ilTermsOfServiceDocument.php.
References $id.
ilTermsOfServiceDocument::read | ( | ) |
Definition at line 122 of file class.ilTermsOfServiceDocument.php.
|
static |
Definition at line 102 of file class.ilTermsOfServiceDocument.php.
ilTermsOfServiceDocument::title | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 112 of file class.ilTermsOfServiceDocument.php.
References $title.
ilTermsOfServiceDocument::update | ( | ) |
Definition at line 152 of file class.ilTermsOfServiceDocument.php.
References $criteria, ActiveRecord\count(), criteria(), and ILIAS\Survey\Mode\getId().
|
protected |
Definition at line 45 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 95 of file class.ilTermsOfServiceDocument.php.
Referenced by create(), criteria(), detachCriterion(), 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.