ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilBiblAttribute 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 ilBiblAttribute:
+ Collaboration diagram for ilBiblAttribute:

Public Member Functions

 getConnectorContainerName ()
 @description Return the Name of your Connector Table More...
 
 getEntryId ()
 
 setEntryId (int $entry_id)
 
 getName ()
 
 setName (string $name)
 
 getValue ()
 
 setValue (string $value)
 
 getId ()
 
 setId (int $id)
 
- 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 (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)
 
 getEntryId ()
 
 setEntryId (int $entry_id)
 
 getName ()
 
 setName (string $name)
 
 getValue ()
 
 setValue (string $value)
 
 getId ()
 
 setId (int $id)
 

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=[])
 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)
 

Protected Attributes

int $entry_id
 @con_has_field true @con_fieldtype integer @con_length 11 More...
 
string $name
 @con_has_field true @con_fieldtype text @con_length 32 More...
 
string $value
 @con_has_field true @con_fieldtype text @con_length 4000 More...
 
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...
 
- 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 ilBiblAttribute

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

Definition at line 24 of file class.ilBiblAttribute.php.

Member Function Documentation

◆ getConnectorContainerName()

ilBiblAttribute::getConnectorContainerName ( )

@description Return the Name of your Connector Table

Reimplemented from ActiveRecord.

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

33 : string
34 {
35 return 'il_bibl_attribute';
36 }

◆ getEntryId()

ilBiblAttribute::getEntryId ( )

Implements ilBiblAttributeInterface.

Definition at line 69 of file class.ilBiblAttribute.php.

69 : int
70 {
71 return $this->entry_id;
72 }
int $entry_id
@con_has_field true @con_fieldtype integer @con_length 11

References $entry_id.

◆ getId()

ilBiblAttribute::getId ( )

Implements ilBiblAttributeInterface.

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

114 : ?int
115 {
116 return $this->id;
117 }
int $id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @c...

References $id.

◆ getName()

ilBiblAttribute::getName ( )

Implements ilBiblAttributeInterface.

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

84 : string
85 {
86 return $this->name;
87 }
string $name
@con_has_field true @con_fieldtype text @con_length 32

References $name.

◆ getValue()

ilBiblAttribute::getValue ( )

Implements ilBiblAttributeInterface.

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

99 : string
100 {
101 return $this->value;
102 }
string $value
@con_has_field true @con_fieldtype text @con_length 4000

References $value.

◆ returnDbTableName()

static ilBiblAttribute::returnDbTableName ( )
static
Returns
never
Exceptions

arException

Deprecated:

Reimplemented from ActiveRecord.

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

26 : string
27 {
28 return 'il_bibl_attribute';
29 }

◆ setEntryId()

ilBiblAttribute::setEntryId ( int  $entry_id)
Parameters
mixed$entry_id

Implements ilBiblAttributeInterface.

Definition at line 78 of file class.ilBiblAttribute.php.

78 : void
79 {
80 $this->entry_id = $entry_id;
81 }

References $entry_id.

◆ setId()

ilBiblAttribute::setId ( int  $id)
Parameters
mixed$id

Implements ilBiblAttributeInterface.

Definition at line 123 of file class.ilBiblAttribute.php.

123 : void
124 {
125 $this->id = $id;
126 }

References $id.

◆ setName()

ilBiblAttribute::setName ( string  $name)
Parameters
mixed$name

Implements ilBiblAttributeInterface.

Definition at line 93 of file class.ilBiblAttribute.php.

93 : void
94 {
95 $this->name = $name;
96 }

References $name.

◆ setValue()

ilBiblAttribute::setValue ( string  $value)
Parameters
mixed$value

Implements ilBiblAttributeInterface.

Definition at line 108 of file class.ilBiblAttribute.php.

108 : void
109 {
110 $this->value = $value;
111 }

References $value.

Field Documentation

◆ $entry_id

int ilBiblAttribute::$entry_id
protected

@con_has_field true @con_fieldtype integer @con_length 11

Definition at line 44 of file class.ilBiblAttribute.php.

Referenced by getEntryId(), and setEntryId().

◆ $id

int ilBiblAttribute::$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 66 of file class.ilBiblAttribute.php.

Referenced by getId(), and setId().

◆ $name

string ilBiblAttribute::$name
protected

@con_has_field true @con_fieldtype text @con_length 32

Definition at line 50 of file class.ilBiblAttribute.php.

Referenced by getName(), and setName().

◆ $value

string ilBiblAttribute::$value
protected

@con_has_field true @con_fieldtype text @con_length 4000

Definition at line 56 of file class.ilBiblAttribute.php.

Referenced by getValue(), and setValue().


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