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

Public Member Functions

 getConnectorContainerName ()
 @description Return the Name of your Connector Table More...
 
 getId ()
 
 setId (int $id)
 
 getImg ()
 
 setImg (string $img)
 
 getName ()
 
 setName (string $name)
 
 isShownInList ()
 
 setShowInList (bool $show_in_list)
 
 getUrl ()
 
 setUrl (string $url)
 
- 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 ilBiblLibraryInterface
 getId ()
 
 setId (int $id)
 
 getImg ()
 
 setImg (string $img)
 
 getName ()
 
 setName (string $name)
 
 isShownInList ()
 
 setShowInList (bool $show_in_list)
 
 getUrl ()
 
 setUrl (string $url)
 
 store ()
 
 delete ()
 
 create ()
 
 update ()
 

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_settings'
 

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 $name = null
 @con_has_field true @con_fieldtype text @con_length 50 @con_is_notnull true More...
 
string $url = null
 @con_has_field true @con_fieldtype text @con_length 128 @con_is_notnull true More...
 
string $img = null
 @con_has_field true @con_fieldtype text @con_length 128 More...
 
bool $show_in_list = null
 @con_has_field true @con_fieldtype integer @con_length 1 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 ilBiblLibrary

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

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

Member Function Documentation

◆ getConnectorContainerName()

ilBiblLibrary::getConnectorContainerName ( )

@description Return the Name of your Connector Table

Reimplemented from ActiveRecord.

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

35 : string
36 {
37 return self::TABLE_NAME;
38 }

References TABLE_NAME.

◆ getId()

ilBiblLibrary::getId ( )

Implements ilBiblLibraryInterface.

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

84 : ?int
85 {
86 return $this->id;
87 }
int $id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @c...

References $id.

◆ getImg()

ilBiblLibrary::getImg ( )

Implements ilBiblLibraryInterface.

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

96 : ?string
97 {
98 return $this->img;
99 }
string $img
@con_has_field true @con_fieldtype text @con_length 128

References $img.

◆ getName()

ilBiblLibrary::getName ( )

Implements ilBiblLibraryInterface.

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

108 : string
109 {
110 return $this->name;
111 }
string $name
@con_has_field true @con_fieldtype text @con_length 50 @con_is_notnull true

References $name.

◆ getUrl()

ilBiblLibrary::getUrl ( )

Implements ilBiblLibraryInterface.

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

132 : string
133 {
134 return $this->url;
135 }
string $url
@con_has_field true @con_fieldtype text @con_length 128 @con_is_notnull true

References $url.

◆ isShownInList()

ilBiblLibrary::isShownInList ( )

Implements ilBiblLibraryInterface.

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

120 : bool
121 {
122 return $this->show_in_list;
123 }
bool $show_in_list
@con_has_field true @con_fieldtype integer @con_length 1

References $show_in_list.

◆ returnDbTableName()

static ilBiblLibrary::returnDbTableName ( )
static
Exceptions

arException

Deprecated:

Reimplemented from ActiveRecord.

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

29 : string
30 {
31 return self::TABLE_NAME;
32 }

References TABLE_NAME.

◆ setId()

ilBiblLibrary::setId ( int  $id)

Implements ilBiblLibraryInterface.

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

90 : void
91 {
92 $this->id = $id;
93 }

References $id.

◆ setImg()

ilBiblLibrary::setImg ( string  $img)

Implements ilBiblLibraryInterface.

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

102 : void
103 {
104 $this->img = $img;
105 }

References $img.

◆ setName()

ilBiblLibrary::setName ( string  $name)

Implements ilBiblLibraryInterface.

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

114 : void
115 {
116 $this->name = $name;
117 }

References $name.

◆ setShowInList()

ilBiblLibrary::setShowInList ( bool  $show_in_list)

Implements ilBiblLibraryInterface.

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

126 : void
127 {
128 $this->show_in_list = $show_in_list;
129 }

References $show_in_list.

◆ setUrl()

ilBiblLibrary::setUrl ( string  $url)

Implements ilBiblLibraryInterface.

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

138 : void
139 {
140 $this->url = $url;
141 }

References $url.

Field Documentation

◆ $id

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

Referenced by getId(), and setId().

◆ $img

string ilBiblLibrary::$img = null
protected

@con_has_field true @con_fieldtype text @con_length 128

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

Referenced by getImg(), and setImg().

◆ $name

string ilBiblLibrary::$name = null
protected

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

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

Referenced by getName(), and setName().

◆ $show_in_list

bool ilBiblLibrary::$show_in_list = null
protected

@con_has_field true @con_fieldtype integer @con_length 1

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

Referenced by isShownInList(), and setShowInList().

◆ $url

string ilBiblLibrary::$url = null
protected

@con_has_field true @con_fieldtype text @con_length 128 @con_is_notnull true

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

Referenced by getUrl(), and setUrl().

◆ TABLE_NAME

const ilBiblLibrary::TABLE_NAME = 'il_bibl_settings'

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

Referenced by getConnectorContainerName(), and returnDbTableName().


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