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

Class ilBiblLibrary. More...

+ Inheritance diagram for ilBiblLibrary:
+ Collaboration diagram for ilBiblLibrary:

Public Member Functions

 getConnectorContainerName ()
 
 getId ()
 
 setId ($id)
 
 getImg ()
 
 setImg ($img)
 
 getName ()
 
 setName ($name)
 
 getShowInList ()
 
 setShowInList ($show_in_list)
 
 getUrl ()
 
 setUrl ($url)
 
- 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 ilBiblLibraryInterface
 store ()
 
 delete ()
 
 create ()
 
 update ()
 

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_settings'
 
- Data Fields inherited from ActiveRecord
const ACTIVE_RECORD_VERSION = '2.0.7'
 

Protected Attributes

 $id
 
 $name
 
 $url
 
 $img
 
 $show_in_list
 
- 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

Member Function Documentation

◆ getConnectorContainerName()

ilBiblLibrary::getConnectorContainerName ( )
Returns
string

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

26  {
27  return self::TABLE_NAME;
28  }

◆ getId()

ilBiblLibrary::getId ( )
Returns
int

Implements ilBiblLibraryInterface.

Definition at line 82 of file class.ilBiblLibrary.php.

References $id.

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

◆ getImg()

ilBiblLibrary::getImg ( )
Returns
string

Implements ilBiblLibraryInterface.

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

References $img.

101  {
102  return $this->img;
103  }

◆ getName()

ilBiblLibrary::getName ( )
Returns
string

Implements ilBiblLibraryInterface.

Definition at line 118 of file class.ilBiblLibrary.php.

References $name.

119  {
120  return $this->name;
121  }

◆ getShowInList()

ilBiblLibrary::getShowInList ( )
Returns
bool

Implements ilBiblLibraryInterface.

Definition at line 136 of file class.ilBiblLibrary.php.

References $show_in_list.

137  {
138  return $this->show_in_list;
139  }

◆ getUrl()

ilBiblLibrary::getUrl ( )
Returns
string

Implements ilBiblLibraryInterface.

Definition at line 154 of file class.ilBiblLibrary.php.

References $url.

155  {
156  return $this->url;
157  }

◆ returnDbTableName()

static ilBiblLibrary::returnDbTableName ( )
static
Returns
string

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

17  {
18  return self::TABLE_NAME;
19  }

◆ setId()

ilBiblLibrary::setId (   $id)
Parameters
int$id

Implements ilBiblLibraryInterface.

Definition at line 91 of file class.ilBiblLibrary.php.

References $id.

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

◆ setImg()

ilBiblLibrary::setImg (   $img)
Parameters
string$img

Implements ilBiblLibraryInterface.

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

References $img.

110  {
111  $this->img = $img;
112  }

◆ setName()

ilBiblLibrary::setName (   $name)
Parameters
string$name

Implements ilBiblLibraryInterface.

Definition at line 127 of file class.ilBiblLibrary.php.

References $name.

128  {
129  $this->name = $name;
130  }

◆ setShowInList()

ilBiblLibrary::setShowInList (   $show_in_list)
Parameters
bool$show_in_list

Implements ilBiblLibraryInterface.

Definition at line 145 of file class.ilBiblLibrary.php.

References $show_in_list.

146  {
147  $this->show_in_list = $show_in_list;
148  }

◆ setUrl()

ilBiblLibrary::setUrl (   $url)
Parameters
string$url

Implements ilBiblLibraryInterface.

Definition at line 163 of file class.ilBiblLibrary.php.

References $url.

164  {
165  $this->url = $url;
166  }

Field Documentation

◆ $id

ilBiblLibrary::$id
protected

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

Referenced by getId(), and setId().

◆ $img

ilBiblLibrary::$img
protected

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

Referenced by getImg(), and setImg().

◆ $name

ilBiblLibrary::$name
protected

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

Referenced by getName(), and setName().

◆ $show_in_list

ilBiblLibrary::$show_in_list
protected

Definition at line 76 of file class.ilBiblLibrary.php.

Referenced by getShowInList(), and setShowInList().

◆ $url

ilBiblLibrary::$url
protected

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

Referenced by getUrl(), and setUrl().

◆ TABLE_NAME

const ilBiblLibrary::TABLE_NAME = 'il_bibl_settings'

Definition at line 10 of file class.ilBiblLibrary.php.


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