ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceDocument. More...
Public Member Functions | ||||
content () | ||||
| ||||
title () | ||||
| ||||
id () | ||||
| ||||
read () | ||||
| ||||
buildFromArray (array $array) | ||||
| ||||
criteria () | ||||
| ||||
detachCriterion (\ilTermsOfServiceDocumentCriterionAssignment $criterionAssignment) | ||||
![]() | ||||
getArConnector () | ||||
getArFieldList () | ||||
getConnectorContainerName () | ||||
setConnectorContainerName ($connector_container_name) | ||||
getPrimaryFieldValue () | ||||
setPrimaryFieldValue ($value) | ||||
__construct ($primary_key=0, arConnector $connector=null) | ||||
storeObjectToCache () | ||||
__getConvertedDateFieldsAsArray ($format=null) | ||||
__asCsv ($separator=';', $header=false) | ||||
__asArray () | ||||
__asStdClass () | ||||
__asSerializedObject () | ||||
buildFromArray (array $array) | ||||
fixDateField ($field_name, $value) | ||||
sleep ($field_name) | ||||
wakeUp ($field_name, $field_value) | ||||
getArrayForDb () | ||||
getArrayForConnector () | ||||
installConnector () | ||||
store () | ||||
save () | ||||
create () | ||||
copy ($new_id=0) | ||||
afterObjectLoad () | ||||
read () | ||||
update () | ||||
delete () | ||||
__call ($name, $arguments) | ||||
content () | ||||
title () | ||||
id () | ||||
criteria () | ||||
Static Public Member Functions | |||
static | returnDbTableName () | ||
| |||
![]() | |||
static | returnDbTableName () | ||
static | installDB () | ||
static | renameDBField ($old_name, $new_name) | ||
static | tableExists () | ||
static | fieldExists ($field_name) | ||
static | removeDBField ($field_name) | ||
static | updateDB () | ||
static | resetDB () | ||
static | truncateDB () | ||
static | flushDB () | ||
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, $fields=array(' *'), $operator='=', $both_external=false) | ||
static | innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) | ||
static | leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) | ||
static | orderBy ($orderBy, $orderDirection='ASC') | ||
static | dateFormat ($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 ($set_raw=true) | ||
static | getArray ($key=null, $values=null) | ||
static | _toCamelCase ($str, $capitalise_first_char=false) | ||
Data Fields | |
const | TABLE_NAME = 'tos_documents' |
![]() | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Attributes | |
$id | |
$creation_ts = 0 | |
$modification_ts = 0 | |
$owner_usr_id = 0 | |
$last_modified_usr_id = '' | |
$sorting = 0 | |
$title = '' | |
$text = '' | |
$criteria = [] | |
$initialPersistedCriteria = [] | |
![]() | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Private Attributes | |
$criteriaFetched = false | |
Additional Inherited Members | |
![]() | |
serializeToCSV ($field) | |
This method is called for every field of your instance if you use __asCsv. More... | |
installDatabase () | |
![]() | |
static | getCalledClass () |
static | fromCamelCase ($str) |
Class ilTermsOfServiceDocument.
Definition at line 8 of file class.ilTermsOfServiceDocument.php.
ilTermsOfServiceDocument::buildFromArray | ( | array | $array | ) |
array | $array |
Reimplemented from ActiveRecord.
Definition at line 137 of file class.ilTermsOfServiceDocument.php.
ilTermsOfServiceDocument::content | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 103 of file class.ilTermsOfServiceDocument.php.
References $text.
ilTermsOfServiceDocument::criteria | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 212 of file class.ilTermsOfServiceDocument.php.
References $criteria.
Referenced by detachCriterion(), ilTermsOfServiceDocumentGUI\detachCriterionAssignment(), ilTermsOfServiceDocumentGUI\saveChangeCriterionForm(), and ilTermsOfServiceDocumentGUI\showChangeCriterionForm().
ilTermsOfServiceDocument::detachCriterion | ( | \ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment | ) |
ilTermsOfServiceDocumentCriterionAssignment
OutOfBoundsException
Definition at line 241 of file class.ilTermsOfServiceDocument.php.
References ActiveRecord\count(), criteria(), ilTermsOfServiceDocumentCriterionAssignment\equals(), ilTermsOfServiceDocumentCriterionAssignment\getCriterionId(), and ilTermsOfServiceDocumentCriterionAssignment\getCriterionValue().
Referenced by ilTermsOfServiceDocumentGUI\detachCriterionAssignment().
ilTermsOfServiceDocument::id | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 119 of file class.ilTermsOfServiceDocument.php.
References $id.
ilTermsOfServiceDocument::read | ( | ) |
arException |
Reimplemented from ActiveRecord.
Definition at line 127 of file class.ilTermsOfServiceDocument.php.
|
static |
Reimplemented from ActiveRecord.
Definition at line 95 of file class.ilTermsOfServiceDocument.php.
References TABLE_NAME.
ilTermsOfServiceDocument::title | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 111 of file class.ilTermsOfServiceDocument.php.
References $title.
|
protected |
Definition at line 28 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 80 of file class.ilTermsOfServiceDocument.php.
Referenced by criteria().
|
private |
Definition at line 90 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 20 of file class.ilTermsOfServiceDocument.php.
Referenced by id().
|
protected |
Definition at line 85 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 52 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 36 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 44 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 60 of file class.ilTermsOfServiceDocument.php.
|
protected |
Definition at line 75 of file class.ilTermsOfServiceDocument.php.
Referenced by content().
|
protected |
Definition at line 68 of file class.ilTermsOfServiceDocument.php.
Referenced by title().
const ilTermsOfServiceDocument::TABLE_NAME = 'tos_documents' |
Definition at line 10 of file class.ilTermsOfServiceDocument.php.
Referenced by returnDbTableName().