ILIAS  release_8 Revision v8.24
ilBiblField 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 ilBiblField:
+ Collaboration diagram for ilBiblField:

Public Member Functions

 getConnectorContainerName ()
 @description Return the Name of your Connector Table More...
 
 getId ()
 
 setId (int $id)
 
 getIdentifier ()
 
 setIdentifier (string $identifier)
 
 getPosition ()
 
 setPosition (int $position)
 
 isStandardField ()
 
 setIsStandardField (bool $is_standard_field)
 
 getDataType ()
 
 setDataType (int $data_type)
 
- 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 ($primary_key=0)
 
 storeObjectToCache ()
 
 asStdClass ()
 
 buildFromArray (array $array)
 
 fixDateField ($field_name, $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 ilBiblFieldInterface
 getId ()
 
 setId (int $id)
 
 getIdentifier ()
 
 setIdentifier (string $identifier)
 
 getPosition ()
 
 setPosition (int $position)
 
 isStandardField ()
 
 setIsStandardField (bool $is_standard_field)
 
 getDataType ()
 
 setDataType (int $data_type)
 
 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=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, array $fields=array(' *'), string $operator='=', $both_external=false)
 
static innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false)
 
static leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false)
 
static orderBy ($orderBy, string $orderDirection='ASC')
 
static dateFormat (string $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 (bool $set_raw=true)
 
static getArray (?string $key=null, $values=null)
 
static _toCamelCase (string $str, bool $capitalise_first_char=false)
 

Data Fields

const TABLE_NAME = 'il_bibl_field'
 
- Data Fields inherited from ilBiblFieldInterface
const DATA_TYPE_RIS = 1
 
const DATA_TYPE_BIBTEX = 2
 

Protected Attributes

int $id = null
 @con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @con_is_unique true @con_sequence true More...
 
string $identifier = null
 @con_has_field true @con_fieldtype text @con_length 50 @con_is_notnull true More...
 
int $data_type = 0
 @con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true More...
 
int $position = null
 @con_has_field true @con_fieldtype integer @con_length 3 More...
 
bool $is_standard_field = true
 @con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true 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 ilField

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

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

Member Function Documentation

◆ getConnectorContainerName()

ilBiblField::getConnectorContainerName ( )

@description Return the Name of your Connector Table

Reimplemented from ActiveRecord.

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

31 : string
32 {
33 return self::TABLE_NAME;
34 }

References TABLE_NAME.

◆ getDataType()

ilBiblField::getDataType ( )

Implements ilBiblFieldInterface.

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

114 : int
115 {
116 return $this->data_type;
117 }
int $data_type
@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true

References $data_type.

◆ getId()

ilBiblField::getId ( )

Implements ilBiblFieldInterface.

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

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

References $id.

Referenced by ilBiblEntryTableGUI\initFilter().

+ Here is the caller graph for this function:

◆ getIdentifier()

ilBiblField::getIdentifier ( )

Implements ilBiblFieldInterface.

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

84 : string
85 {
86 return trim($this->identifier);
87 }

◆ getPosition()

ilBiblField::getPosition ( )

Implements ilBiblFieldInterface.

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

94 : ?int
95 {
96 return $this->position;
97 }
int $position
@con_has_field true @con_fieldtype integer @con_length 3

References $position.

◆ isStandardField()

ilBiblField::isStandardField ( )

Implements ilBiblFieldInterface.

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

104 : bool
105 {
107 }
bool $is_standard_field
@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true

References $is_standard_field.

◆ returnDbTableName()

static ilBiblField::returnDbTableName ( )
static
Exceptions

arException

Deprecated:

Reimplemented from ActiveRecord.

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

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

References TABLE_NAME.

◆ setDataType()

ilBiblField::setDataType ( int  $data_type)

Implements ilBiblFieldInterface.

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

119 : void
120 {
121 $this->data_type = $data_type;
122 }

References $data_type.

◆ setId()

ilBiblField::setId ( int  $id)

Implements ilBiblFieldInterface.

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

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

References $id.

◆ setIdentifier()

ilBiblField::setIdentifier ( string  $identifier)

Implements ilBiblFieldInterface.

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

89 : void
90 {
91 $this->identifier = trim($identifier);
92 }
string $identifier
@con_has_field true @con_fieldtype text @con_length 50 @con_is_notnull true

References $identifier.

◆ setIsStandardField()

ilBiblField::setIsStandardField ( bool  $is_standard_field)

Implements ilBiblFieldInterface.

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

109 : void
110 {
111 $this->is_standard_field = $is_standard_field;
112 }

References $is_standard_field.

◆ setPosition()

ilBiblField::setPosition ( int  $position)

Implements ilBiblFieldInterface.

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

99 : void
100 {
101 $this->position = $position;
102 }

References $position.

Field Documentation

◆ $data_type

int ilBiblField::$data_type = 0
protected

@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true

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

Referenced by getDataType(), and setDataType().

◆ $id

int ilBiblField::$id = null
protected

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

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

Referenced by getId(), and setId().

◆ $identifier

string ilBiblField::$identifier = null
protected

@con_has_field true @con_fieldtype text @con_length 50 @con_is_notnull true

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

Referenced by setIdentifier().

◆ $is_standard_field

bool ilBiblField::$is_standard_field = true
protected

@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true

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

Referenced by isStandardField(), and setIsStandardField().

◆ $position

int ilBiblField::$position = null
protected

@con_has_field true @con_fieldtype integer @con_length 3

Definition at line 65 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: