ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 
 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 ()
 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 ilBiblFieldInterface
 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_field'
 
- Data Fields inherited from ilBiblFieldInterface
const DATA_TYPE_RIS = 1
 
const DATA_TYPE_BIBTEX = 2
 

Protected Attributes

int $id = null
 true integer 4 true true true true More...
 
string $identifier = null
 true text 50 true More...
 
int $data_type = 0
 true integer 1 true More...
 
int $position = null
 true integer 3 More...
 
bool $is_standard_field = true
 true integer 1 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 ()
 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 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 ( )

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

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

◆ getDataType()

ilBiblField::getDataType ( )

Implements ilBiblFieldInterface.

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

References $data_type.

115  : int
116  {
117  return $this->data_type;
118  }
int $data_type
true integer 1 true

◆ getId()

ilBiblField::getId ( )

Implements ilBiblFieldInterface.

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

References $id.

Referenced by ilBiblEntryTableGUI\buildFilter().

75  : ?int
76  {
77  return $this->id;
78  }
int $id
true integer 4 true true true true
+ Here is the caller graph for this function:

◆ getIdentifier()

ilBiblField::getIdentifier ( )

Implements ilBiblFieldInterface.

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

Referenced by ilBiblEntryTableGUI\buildFilter().

85  : string
86  {
87  return trim((string) $this->identifier);
88  }
+ Here is the caller graph for this function:

◆ getPosition()

ilBiblField::getPosition ( )

Implements ilBiblFieldInterface.

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

References $position.

95  : ?int
96  {
97  return $this->position;
98  }
int $position
true integer 3

◆ isStandardField()

ilBiblField::isStandardField ( )

Implements ilBiblFieldInterface.

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

References $is_standard_field.

105  : bool
106  {
108  }
bool $is_standard_field
true integer 1 true

◆ returnDbTableName()

static ilBiblField::returnDbTableName ( )
static

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

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

◆ setDataType()

ilBiblField::setDataType ( int  $data_type)

Implements ilBiblFieldInterface.

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

References $data_type.

120  : void
121  {
122  $this->data_type = $data_type;
123  }
int $data_type
true integer 1 true

◆ setId()

ilBiblField::setId ( int  $id)

Implements ilBiblFieldInterface.

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

References $id.

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

◆ setIdentifier()

ilBiblField::setIdentifier ( string  $identifier)

Implements ilBiblFieldInterface.

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

90  : void
91  {
92  $this->identifier = trim($identifier);
93  }
string $identifier
true text 50 true

◆ setIsStandardField()

ilBiblField::setIsStandardField ( bool  $is_standard_field)

Implements ilBiblFieldInterface.

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

References $is_standard_field.

110  : void
111  {
112  $this->is_standard_field = $is_standard_field;
113  }
bool $is_standard_field
true integer 1 true

◆ setPosition()

ilBiblField::setPosition ( int  $position)

Implements ilBiblFieldInterface.

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

References $position.

100  : void
101  {
102  $this->position = $position;
103  }
int $position
true integer 3

Field Documentation

◆ $data_type

int ilBiblField::$data_type = 0
protected

true integer 1 true

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

Referenced by getDataType(), and setDataType().

◆ $id

int ilBiblField::$id = null
protected

true integer 4 true true true true

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

Referenced by getId(), and setId().

◆ $identifier

string ilBiblField::$identifier = null
protected

true text 50 true

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

◆ $is_standard_field

bool ilBiblField::$is_standard_field = true
protected

true integer 1 true

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

Referenced by isStandardField(), and setIsStandardField().

◆ $position

int ilBiblField::$position = null
protected

true integer 3

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