ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 (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 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=[])
 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_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 36 of file class.ilBiblLibrary.php.

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

References TABLE_NAME.

◆ getId()

ilBiblLibrary::getId ( )

Implements ilBiblLibraryInterface.

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

85 : ?int
86 {
87 return $this->id;
88 }
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 97 of file class.ilBiblLibrary.php.

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

References $img.

◆ getName()

ilBiblLibrary::getName ( )

Implements ilBiblLibraryInterface.

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

109 : string
110 {
111 return $this->name;
112 }
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 133 of file class.ilBiblLibrary.php.

133 : string
134 {
135 return $this->url;
136 }
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 121 of file class.ilBiblLibrary.php.

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

References $show_in_list.

◆ returnDbTableName()

static ilBiblLibrary::returnDbTableName ( )
static
Returns
never
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 91 of file class.ilBiblLibrary.php.

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

References $id.

◆ setImg()

ilBiblLibrary::setImg ( string  $img)

Implements ilBiblLibraryInterface.

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

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

References $img.

◆ setName()

ilBiblLibrary::setName ( string  $name)

Implements ilBiblLibraryInterface.

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

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

References $name.

◆ setShowInList()

ilBiblLibrary::setShowInList ( bool  $show_in_list)

Implements ilBiblLibraryInterface.

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

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

References $show_in_list.

◆ setUrl()

ilBiblLibrary::setUrl ( string  $url)

Implements ilBiblLibraryInterface.

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

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

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 52 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 75 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 60 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 82 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 68 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: