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

Class ilField. More...

+ Inheritance diagram for ilBiblField:
+ Collaboration diagram for ilBiblField:

Public Member Functions

 getConnectorContainerName ()
 
 getId ()
 
 setId ($id)
 
 getIdentifier ()
 
 setIdentifier ($identifier)
 
 getPosition ()
 
 setPosition ($position)
 
 getisStandardField ()
 
 setIsStandardField ($is_standard_field)
 
 getDataType ()
 
 setDataType ($data_type)
 
- 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 ilBiblFieldInterface
 getIsStandardField ()
 
 store ()
 Stores the Object, creates a newone in Db if non existing or updates an existing. More...
 

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_field'
 
- Data Fields inherited from ActiveRecord
const ACTIVE_RECORD_VERSION = '2.0.7'
 
- Data Fields inherited from ilBiblFieldInterface
const DATA_TYPE_RIS = 1
 
const DATA_TYPE_BIBTEX = 2
 

Protected Attributes

 $id
 
 $identifier
 
 $data_type
 
 $position
 
 $is_standard_field
 
- 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

Class ilField.

Author
: Benjamin Seglias bs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 8 of file class.ilBiblField.php.

Member Function Documentation

◆ getConnectorContainerName()

ilBiblField::getConnectorContainerName ( )
Returns
string

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

26  {
27  return self::TABLE_NAME;
28  }

◆ getDataType()

ilBiblField::getDataType ( )
Returns
mixed

Implements ilBiblFieldInterface.

Definition at line 155 of file class.ilBiblField.php.

References $data_type.

156  {
157  return $this->data_type;
158  }

◆ getId()

ilBiblField::getId ( )
Returns
integer

Implements ilBiblFieldInterface.

Definition at line 83 of file class.ilBiblField.php.

References $id.

84  {
85  return $this->id;
86  }

◆ getIdentifier()

ilBiblField::getIdentifier ( )
Returns
string

Implements ilBiblFieldInterface.

Definition at line 101 of file class.ilBiblField.php.

References $identifier.

102  {
103  return $this->identifier;
104  }

◆ getisStandardField()

ilBiblField::getisStandardField ( )
Returns
integer

Definition at line 137 of file class.ilBiblField.php.

References $is_standard_field.

138  {
140  }

◆ getPosition()

ilBiblField::getPosition ( )
Returns
integer

Implements ilBiblFieldInterface.

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

References $position.

120  {
121  return $this->position;
122  }

◆ returnDbTableName()

static ilBiblField::returnDbTableName ( )
static
Returns
string

Definition at line 16 of file class.ilBiblField.php.

17  {
18  return self::TABLE_NAME;
19  }

◆ setDataType()

ilBiblField::setDataType (   $data_type)
Parameters
mixed$data_type

Implements ilBiblFieldInterface.

Definition at line 164 of file class.ilBiblField.php.

References $data_type.

165  {
166  $this->data_type = $data_type;
167  }

◆ setId()

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

Implements ilBiblFieldInterface.

Definition at line 92 of file class.ilBiblField.php.

References $id.

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

◆ setIdentifier()

ilBiblField::setIdentifier (   $identifier)
Parameters
string$identifier

Implements ilBiblFieldInterface.

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

References $identifier.

111  {
112  $this->identifier = $identifier;
113  }

◆ setIsStandardField()

ilBiblField::setIsStandardField (   $is_standard_field)
Parameters
integer$is_standard_field

Implements ilBiblFieldInterface.

Definition at line 146 of file class.ilBiblField.php.

References $is_standard_field.

147  {
148  $this->is_standard_field = $is_standard_field;
149  }

◆ setPosition()

ilBiblField::setPosition (   $position)
Parameters
integer$position

Implements ilBiblFieldInterface.

Definition at line 128 of file class.ilBiblField.php.

References $position.

129  {
130  $this->position = $position;
131  }

Field Documentation

◆ $data_type

ilBiblField::$data_type
protected

Definition at line 60 of file class.ilBiblField.php.

Referenced by getDataType(), and setDataType().

◆ $id

ilBiblField::$id
protected

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

Referenced by getId(), and setId().

◆ $identifier

ilBiblField::$identifier
protected

Definition at line 51 of file class.ilBiblField.php.

Referenced by getIdentifier(), and setIdentifier().

◆ $is_standard_field

ilBiblField::$is_standard_field
protected

Definition at line 77 of file class.ilBiblField.php.

Referenced by getisStandardField(), and setIsStandardField().

◆ $position

ilBiblField::$position
protected

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

Referenced by getPosition(), and setPosition().

◆ TABLE_NAME

const ilBiblField::TABLE_NAME = 'il_bibl_field'

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