ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables 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 ($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
 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=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
 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 31 of file class.ilBiblField.php.

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

◆ getDataType()

ilBiblField::getDataType ( )

Implements ilBiblFieldInterface.

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

References $data_type.

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

◆ getId()

ilBiblField::getId ( )

Implements ilBiblFieldInterface.

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

References $id.

Referenced by ilBiblEntryTableGUI\initFilter().

74  : ?int
75  {
76  return $this->id;
77  }
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 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.

References $position.

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

◆ isStandardField()

ilBiblField::isStandardField ( )

Implements ilBiblFieldInterface.

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

References $is_standard_field.

104  : bool
105  {
107  }
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 119 of file class.ilBiblField.php.

References $data_type.

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

◆ setId()

ilBiblField::setId ( int  $id)

Implements ilBiblFieldInterface.

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

References $id.

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

◆ 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
true text 50 true

◆ setIsStandardField()

ilBiblField::setIsStandardField ( bool  $is_standard_field)

Implements ilBiblFieldInterface.

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

References $is_standard_field.

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

◆ setPosition()

ilBiblField::setPosition ( int  $position)

Implements ilBiblFieldInterface.

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

References $position.

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

Field Documentation

◆ $data_type

int ilBiblField::$data_type = 0
protected

true integer 1 true

Definition at line 59 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 45 of file class.ilBiblField.php.

Referenced by getId(), and setId().

◆ $identifier

string ilBiblField::$identifier = null
protected

true text 50 true

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

◆ $is_standard_field

bool ilBiblField::$is_standard_field = true
protected

true integer 1 true

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

Referenced by isStandardField(), and setIsStandardField().

◆ $position

int ilBiblField::$position = null
protected

true integer 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: