ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilBiblTranslation Class Reference

Class ilBiblTranslation. More...

+ Inheritance diagram for ilBiblTranslation:
+ Collaboration diagram for ilBiblTranslation:

Public Member Functions

 getConnectorContainerName ()
 
 getId ()
 
 setId ($id)
 
 getFieldId ()
 
 setFieldId ($field_id)
 
 getLanguageKey ()
 
 setLanguageKey ($language_key)
 
 getTranslation ()
 
 setTranslation ($translation)
 
 getDescription ()
 
 setDescription ($description)
 
- Public Member Functions inherited from ActiveRecord
 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)
 
- Public Member Functions inherited from ilBiblTranslationInterface
 getId ()
 
 setId ($id)
 
 getFieldId ()
 
 setFieldId ($field_id)
 
 getLanguageKey ()
 
 setLanguageKey ($language_key)
 
 getTranslation ()
 
 setTranslation ($translation)
 
 getDescription ()
 
 setDescription ($description)
 
 store ()
 

Static Public Member Functions

static returnDbTableName ()
 
- Static Public Member Functions inherited from ActiveRecord
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 = 'il_bibl_translation'
 
- Data Fields inherited from ActiveRecord
const ACTIVE_RECORD_VERSION = '2.0.7'
 

Protected Attributes

 $id = 0
 
 $field_id = 0
 
 $language_key = ''
 
 $translation = ''
 
 $description = ''
 
- Protected Attributes inherited from ActiveRecord
 $ar_safe_read = true
 
 $connector_container_name = ''
 

Additional Inherited Members

- Protected Member Functions inherited from ActiveRecord
 serializeToCSV ($field)
 This method is called for every field of your instance if you use __asCsv. More...
 
 installDatabase ()
 
- Static Protected Member Functions inherited from ActiveRecord
static getCalledClass ()
 
static fromCamelCase ($str)
 

Detailed Description

Member Function Documentation

◆ getConnectorContainerName()

ilBiblTranslation::getConnectorContainerName ( )
Returns
string

Reimplemented from ActiveRecord.

Definition at line 26 of file class.ilBiblTranslation.php.

27 {
28 return self::TABLE_NAME;
29 }

References TABLE_NAME.

◆ getDescription()

ilBiblTranslation::getDescription ( )
Returns
mixed

Implements ilBiblTranslationInterface.

Definition at line 154 of file class.ilBiblTranslation.php.

References $description.

◆ getFieldId()

ilBiblTranslation::getFieldId ( )
Returns
integer

Implements ilBiblTranslationInterface.

Definition at line 100 of file class.ilBiblTranslation.php.

101 {
102 return $this->field_id;
103 }

References $field_id.

◆ getId()

ilBiblTranslation::getId ( )
Returns
integer

Implements ilBiblTranslationInterface.

Definition at line 82 of file class.ilBiblTranslation.php.

References $id.

◆ getLanguageKey()

ilBiblTranslation::getLanguageKey ( )
Returns
string

Implements ilBiblTranslationInterface.

Definition at line 118 of file class.ilBiblTranslation.php.

References $language_key.

◆ getTranslation()

ilBiblTranslation::getTranslation ( )
Returns
string

Implements ilBiblTranslationInterface.

Definition at line 136 of file class.ilBiblTranslation.php.

References $translation.

◆ returnDbTableName()

static ilBiblTranslation::returnDbTableName ( )
static
Returns
string

Reimplemented from ActiveRecord.

Definition at line 17 of file class.ilBiblTranslation.php.

18 {
19 return self::TABLE_NAME;
20 }

References TABLE_NAME.

◆ setDescription()

ilBiblTranslation::setDescription (   $description)
Parameters
mixed$description

Implements ilBiblTranslationInterface.

Definition at line 163 of file class.ilBiblTranslation.php.

164 {
165 $this->description = $description;
166 }

References $description.

◆ setFieldId()

ilBiblTranslation::setFieldId (   $field_id)
Parameters
integer$field_id

Implements ilBiblTranslationInterface.

Definition at line 109 of file class.ilBiblTranslation.php.

110 {
111 $this->field_id = $field_id;
112 }

References $field_id.

◆ setId()

ilBiblTranslation::setId (   $id)
Parameters
integer$id

Implements ilBiblTranslationInterface.

Definition at line 91 of file class.ilBiblTranslation.php.

92 {
93 $this->id = $id;
94 }

References $id.

◆ setLanguageKey()

ilBiblTranslation::setLanguageKey (   $language_key)
Parameters
string$language_key

Implements ilBiblTranslationInterface.

Definition at line 127 of file class.ilBiblTranslation.php.

128 {
129 $this->language_key = $language_key;
130 }

References $language_key.

◆ setTranslation()

ilBiblTranslation::setTranslation (   $translation)
Parameters
string$translation

Implements ilBiblTranslationInterface.

Definition at line 145 of file class.ilBiblTranslation.php.

146 {
147 $this->translation = $translation;
148 }

References $translation.

Field Documentation

◆ $description

ilBiblTranslation::$description = ''
protected

Definition at line 76 of file class.ilBiblTranslation.php.

Referenced by getDescription(), and setDescription().

◆ $field_id

ilBiblTranslation::$field_id = 0
protected

Definition at line 52 of file class.ilBiblTranslation.php.

Referenced by getFieldId(), and setFieldId().

◆ $id

ilBiblTranslation::$id = 0
protected

Definition at line 42 of file class.ilBiblTranslation.php.

Referenced by getId(), and setId().

◆ $language_key

ilBiblTranslation::$language_key = ''
protected

Definition at line 61 of file class.ilBiblTranslation.php.

Referenced by getLanguageKey(), and setLanguageKey().

◆ $translation

ilBiblTranslation::$translation = ''
protected

Definition at line 69 of file class.ilBiblTranslation.php.

Referenced by getTranslation(), and setTranslation().

◆ TABLE_NAME

const ilBiblTranslation::TABLE_NAME = 'il_bibl_translation'

Definition at line 11 of file class.ilBiblTranslation.php.

Referenced by getConnectorContainerName(), and returnDbTableName().


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