ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilBiblTranslation Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

 getConnectorContainerName ()
 @description Return the Name of your Connector Table More...
 
 getId ()
 
 setId (int $id)
 
 getFieldId ()
 
 setFieldId (int $field_id)
 
 getLanguageKey ()
 
 setLanguageKey (string $language_key)
 
 getTranslation ()
 
 setTranslation (string $translation)
 
 getDescription ()
 
 setDescription (string $description)
 
- 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)
 
- Public Member Functions inherited from ilBiblTranslationInterface
 getId ()
 
 setId (int $id)
 
 getFieldId ()
 
 setFieldId (int $field_id)
 
 getLanguageKey ()
 
 setLanguageKey (string $language_key)
 
 getTranslation ()
 
 setTranslation (string $translation)
 
 getDescription ()
 
 setDescription (string $description)
 
 store ()
 

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)
 

Data Fields

const TABLE_NAME = 'il_bibl_translation'
 

Protected Attributes

int $id = 0
 @con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @con_sequence true More...
 
int $field_id = 0
 @con_has_field true @con_fieldtype integer @con_length 8 @con_is_notnull true @con_is_unique true More...
 
string $language_key = ''
 @con_has_field true @con_fieldtype text @con_length 2 @con_is_notnull true More...
 
string $translation = ''
 @con_has_field true @con_fieldtype text @con_length 256 More...
 
string $description = ''
 @con_has_field true @con_fieldtype clob 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)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilBiblTranslation

Author
Benjamin Seglias bs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

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

Member Function Documentation

◆ getConnectorContainerName()

ilBiblTranslation::getConnectorContainerName ( )

@description Return the Name of your Connector Table

Reimplemented from ActiveRecord.

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

34 : string
35 {
36 return self::TABLE_NAME;
37 }

References TABLE_NAME.

◆ getDescription()

ilBiblTranslation::getDescription ( )

Implements ilBiblTranslationInterface.

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

115 : string
116 {
117 return $this->description;
118 }
string $description
@con_has_field true @con_fieldtype clob

References $description.

◆ getFieldId()

ilBiblTranslation::getFieldId ( )

Implements ilBiblTranslationInterface.

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

85 : int
86 {
87 return $this->field_id;
88 }
int $field_id
@con_has_field true @con_fieldtype integer @con_length 8 @con_is_notnull true @con_is_unique true

References $field_id.

◆ getId()

ilBiblTranslation::getId ( )

Implements ilBiblTranslationInterface.

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

75 : ?int
76 {
77 return $this->id;
78 }
int $id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @c...

References $id.

◆ getLanguageKey()

ilBiblTranslation::getLanguageKey ( )

Implements ilBiblTranslationInterface.

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

95 : string
96 {
98 }
string $language_key
@con_has_field true @con_fieldtype text @con_length 2 @con_is_notnull true

References $language_key.

◆ getTranslation()

ilBiblTranslation::getTranslation ( )

Implements ilBiblTranslationInterface.

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

105 : string
106 {
107 return $this->translation;
108 }
string $translation
@con_has_field true @con_fieldtype text @con_length 256

References $translation.

◆ returnDbTableName()

static ilBiblTranslation::returnDbTableName ( )
static
Returns
never
Exceptions

arException

Deprecated:

Reimplemented from ActiveRecord.

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

28 : string
29 {
30 return self::TABLE_NAME;
31 }

References TABLE_NAME.

◆ setDescription()

ilBiblTranslation::setDescription ( string  $description)

Implements ilBiblTranslationInterface.

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

120 : void
121 {
122 $this->description = $description;
123 }

References $description.

◆ setFieldId()

ilBiblTranslation::setFieldId ( int  $field_id)

Implements ilBiblTranslationInterface.

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

90 : void
91 {
92 $this->field_id = $field_id;
93 }

References $field_id.

◆ setId()

ilBiblTranslation::setId ( int  $id)

Implements ilBiblTranslationInterface.

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

80 : void
81 {
82 $this->id = $id;
83 }

References $id.

◆ setLanguageKey()

ilBiblTranslation::setLanguageKey ( string  $language_key)

Implements ilBiblTranslationInterface.

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

100 : void
101 {
102 $this->language_key = $language_key;
103 }

References $language_key.

◆ setTranslation()

ilBiblTranslation::setTranslation ( string  $translation)

Implements ilBiblTranslationInterface.

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

110 : void
111 {
112 $this->translation = $translation;
113 }

References $translation.

Field Documentation

◆ $description

string ilBiblTranslation::$description = ''
protected

@con_has_field true @con_fieldtype clob

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

Referenced by getDescription(), and setDescription().

◆ $field_id

int ilBiblTranslation::$field_id = 0
protected

@con_has_field true @con_fieldtype integer @con_length 8 @con_is_notnull true @con_is_unique true

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

Referenced by getFieldId(), and setFieldId().

◆ $id

int ilBiblTranslation::$id = 0
protected

@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @con_sequence true

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

Referenced by getId(), and setId().

◆ $language_key

string ilBiblTranslation::$language_key = ''
protected

@con_has_field true @con_fieldtype text @con_length 2 @con_is_notnull true

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

Referenced by getLanguageKey(), and setLanguageKey().

◆ $translation

string ilBiblTranslation::$translation = ''
protected

@con_has_field true @con_fieldtype text @con_length 256

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

Referenced by getTranslation(), and setTranslation().

◆ TABLE_NAME

const ilBiblTranslation::TABLE_NAME = 'il_bibl_translation'

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

Referenced by getConnectorContainerName(), and returnDbTableName().


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