ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 
 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 ()
 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
 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 ()
 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
 true integer 4 true true true More...
 
int $field_id = 0
 true integer 8 true true More...
 
string $language_key = ''
 true text 2 true More...
 
string $translation = ''
 true text 256 More...
 
string $description = ''
 true 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 ()
 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)
 

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 23 of file class.ilBiblTranslation.php.

Member Function Documentation

◆ getConnectorContainerName()

ilBiblTranslation::getConnectorContainerName ( )

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

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

◆ getDescription()

ilBiblTranslation::getDescription ( )

Implements ilBiblTranslationInterface.

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

References $description.

114  : string
115  {
116  return $this->description;
117  }
string $description
true clob

◆ getFieldId()

ilBiblTranslation::getFieldId ( )

Implements ilBiblTranslationInterface.

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

References $field_id.

84  : int
85  {
86  return $this->field_id;
87  }
int $field_id
true integer 8 true true

◆ getId()

ilBiblTranslation::getId ( )

Implements ilBiblTranslationInterface.

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

References $id.

74  : ?int
75  {
76  return $this->id;
77  }
int $id
true integer 4 true true true

◆ getLanguageKey()

ilBiblTranslation::getLanguageKey ( )

Implements ilBiblTranslationInterface.

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

References $language_key.

94  : string
95  {
96  return $this->language_key;
97  }
string $language_key
true text 2 true

◆ getTranslation()

ilBiblTranslation::getTranslation ( )

Implements ilBiblTranslationInterface.

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

References $translation.

104  : string
105  {
106  return $this->translation;
107  }
string $translation
true text 256

◆ returnDbTableName()

static ilBiblTranslation::returnDbTableName ( )
static

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

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

◆ setDescription()

ilBiblTranslation::setDescription ( string  $description)

Implements ilBiblTranslationInterface.

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

References $description.

119  : void
120  {
121  $this->description = $description;
122  }
string $description
true clob

◆ setFieldId()

ilBiblTranslation::setFieldId ( int  $field_id)

Implements ilBiblTranslationInterface.

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

References $field_id.

89  : void
90  {
91  $this->field_id = $field_id;
92  }
int $field_id
true integer 8 true true

◆ setId()

ilBiblTranslation::setId ( int  $id)

Implements ilBiblTranslationInterface.

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

References $id.

79  : void
80  {
81  $this->id = $id;
82  }
int $id
true integer 4 true true true

◆ setLanguageKey()

ilBiblTranslation::setLanguageKey ( string  $language_key)

Implements ilBiblTranslationInterface.

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

References $language_key.

99  : void
100  {
101  $this->language_key = $language_key;
102  }
string $language_key
true text 2 true

◆ setTranslation()

ilBiblTranslation::setTranslation ( string  $translation)

Implements ilBiblTranslationInterface.

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

References $translation.

109  : void
110  {
111  $this->translation = $translation;
112  }
string $translation
true text 256

Field Documentation

◆ $description

string ilBiblTranslation::$description = ''
protected

true clob

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

Referenced by getDescription(), and setDescription().

◆ $field_id

int ilBiblTranslation::$field_id = 0
protected

true integer 8 true true

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

Referenced by getFieldId(), and setFieldId().

◆ $id

int ilBiblTranslation::$id = 0
protected

true integer 4 true true true

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

Referenced by getId(), and setId().

◆ $language_key

string ilBiblTranslation::$language_key = ''
protected

true text 2 true

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

Referenced by getLanguageKey(), and setLanguageKey().

◆ $translation

string ilBiblTranslation::$translation = ''
protected

true text 256

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

Referenced by getTranslation(), and setTranslation().

◆ TABLE_NAME

const ilBiblTranslation::TABLE_NAME = 'il_bibl_translation'

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


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