ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilBiblData 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 ilBiblData:
+ Collaboration diagram for ilBiblData:

Public Member Functions

 getConnectorContainerName ()
 
 getId ()
 
 setId (int $id)
 
 getFilename ()
 
 setFilename (string $filename)
 
 getFileType ()
 
 setFileType (int $file_type)
 
 getResourceId ()
 
 setResourceId (string $rid)
 
- 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)
 

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

Protected Attributes

int $id = null
 true integer 4 true true true true More...
 
string $filename = null
 true text 256 true More...
 
int $file_type = null
 true integer 1 true More...
 
string $rid = null
 true text 255 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 ()
 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 ilBiblData

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

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

Member Function Documentation

◆ getConnectorContainerName()

ilBiblData::getConnectorContainerName ( )

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

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

◆ getFilename()

ilBiblData::getFilename ( )
Deprecated:

Implements ilBiblDataInterface.

Definition at line 88 of file class.ilBiblData.php.

References $filename.

88  : ?string
89  {
90  return $this->filename;
91  }
string $filename
true text 256 true

◆ getFileType()

ilBiblData::getFileType ( )

Implements ilBiblDataInterface.

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

References $file_type.

100  : int
101  {
102  return $this->file_type;
103  }
int $file_type
true integer 1 true

◆ getId()

ilBiblData::getId ( )

Implements ilBiblDataInterface.

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

References $id.

76  : ?int
77  {
78  return $this->id;
79  }
int $id
true integer 4 true true true true

◆ getResourceId()

ilBiblData::getResourceId ( )
Returns
string

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

References $rid.

114  : ?string
115  {
116  return $this->rid;
117  }
string $rid
true text 255 true

◆ returnDbTableName()

static ilBiblData::returnDbTableName ( )
static

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

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

◆ setFilename()

ilBiblData::setFilename ( string  $filename)
Deprecated:

Implements ilBiblDataInterface.

Definition at line 94 of file class.ilBiblData.php.

References $filename.

94  : void
95  {
96  $this->filename = $filename;
97  }
string $filename
true text 256 true

◆ setFileType()

ilBiblData::setFileType ( int  $file_type)

Implements ilBiblDataInterface.

Definition at line 106 of file class.ilBiblData.php.

References $file_type.

106  : void
107  {
108  $this->file_type = $file_type;
109  }
int $file_type
true integer 1 true

◆ setId()

ilBiblData::setId ( int  $id)

Implements ilBiblDataInterface.

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

References $id.

82  : void
83  {
84  $this->id = $id;
85  }
int $id
true integer 4 true true true true

◆ setResourceId()

ilBiblData::setResourceId ( string  $rid)

Definition at line 119 of file class.ilBiblData.php.

References $rid.

119  : self
120  {
121  $this->rid = $rid;
122  return $this;
123  }
string $rid
true text 255 true

Field Documentation

◆ $file_type

int ilBiblData::$file_type = null
protected

true integer 1 true

Definition at line 65 of file class.ilBiblData.php.

Referenced by getFileType(), and setFileType().

◆ $filename

string ilBiblData::$filename = null
protected

true text 256 true

Definition at line 58 of file class.ilBiblData.php.

Referenced by getFilename(), and setFilename().

◆ $id

int ilBiblData::$id = null
protected

true integer 4 true true true true

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

Referenced by getId(), and setId().

◆ $rid

string ilBiblData::$rid = null
protected

true text 255 true

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

Referenced by getResourceId(), and setResourceId().

◆ TABLE_NAME

const ilBiblData::TABLE_NAME = 'il_bibl_data'

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


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