ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 
 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 ()
 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
 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 ()
 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
 true integer 4 true true true true More...
 
string $name = null
 true text 50 true More...
 
string $url = null
 true text 128 true More...
 
string $img = null
 true text 128 More...
 
bool $show_in_list = null
 true integer 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 ()
 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 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 ( )

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

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

◆ getId()

ilBiblLibrary::getId ( )

Implements ilBiblLibraryInterface.

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

References $id.

85  : ?int
86  {
87  return $this->id;
88  }
int $id
true integer 4 true true true true

◆ getImg()

ilBiblLibrary::getImg ( )

Implements ilBiblLibraryInterface.

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

References $img.

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

◆ getName()

ilBiblLibrary::getName ( )

Implements ilBiblLibraryInterface.

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

References $name.

109  : string
110  {
111  return $this->name;
112  }
string $name
true text 50 true

◆ getUrl()

ilBiblLibrary::getUrl ( )

Implements ilBiblLibraryInterface.

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

References $url.

133  : string
134  {
135  return $this->url;
136  }
string $url
true text 128 true

◆ isShownInList()

ilBiblLibrary::isShownInList ( )

Implements ilBiblLibraryInterface.

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

References $show_in_list.

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

◆ returnDbTableName()

static ilBiblLibrary::returnDbTableName ( )
static

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

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

◆ setId()

ilBiblLibrary::setId ( int  $id)

Implements ilBiblLibraryInterface.

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

References $id.

91  : void
92  {
93  $this->id = $id;
94  }
int $id
true integer 4 true true true true

◆ setImg()

ilBiblLibrary::setImg ( string  $img)

Implements ilBiblLibraryInterface.

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

References $img.

103  : void
104  {
105  $this->img = $img;
106  }
string $img
true text 128

◆ setName()

ilBiblLibrary::setName ( string  $name)

Implements ilBiblLibraryInterface.

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

References $name.

115  : void
116  {
117  $this->name = $name;
118  }
string $name
true text 50 true

◆ setShowInList()

ilBiblLibrary::setShowInList ( bool  $show_in_list)

Implements ilBiblLibraryInterface.

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

References $show_in_list.

127  : void
128  {
129  $this->show_in_list = $show_in_list;
130  }
bool $show_in_list
true integer 1

◆ setUrl()

ilBiblLibrary::setUrl ( string  $url)

Implements ilBiblLibraryInterface.

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

References $url.

139  : void
140  {
141  $this->url = $url;
142  }
string $url
true text 128 true

Field Documentation

◆ $id

int ilBiblLibrary::$id = null
protected

true integer 4 true true true true

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

Referenced by getId(), and setId().

◆ $img

string ilBiblLibrary::$img = null
protected

true text 128

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

Referenced by getImg(), and setImg().

◆ $name

string ilBiblLibrary::$name = null
protected

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

true integer 1

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

Referenced by isShownInList(), and setShowInList().

◆ $url

string ilBiblLibrary::$url = null
protected

true text 128 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.


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