ILIAS  release_8 Revision v8.24
ilBiblData Class Reference

Class ilBiblData. More...

+ Inheritance diagram for ilBiblData:
+ Collaboration diagram for ilBiblData:

Public Member Functions

 getConnectorContainerName ()
 @description Return the Name of your Connector Table More...
 
 getId ()
 
 setId (int $id)
 
 getFilename ()
 
 setFilename (string $filename)
 
 isOnline ()
 
 setIsOnline (int $is_online)
 
 getFileType ()
 
 setFileType (int $file_type)
 
 getResourceId ()
 
 setResourceId (string $rid)
 
- 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)
 
 getId ()
 
 setId (int $id)
 
 getFilename ()
 
 setFilename (string $filename)
 
 isOnline ()
 
 setIsOnline (int $is_online)
 
 getFileType ()
 
 setFileType (int $file_type)
 

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

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 $filename = null
 @con_has_field true @con_fieldtype text @con_length 256 @con_is_notnull true More...
 
int $is_online = null
 @con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true More...
 
int $file_type = null
 @con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true More...
 
string $rid = null
 @con_has_field true @con_fieldtype text @con_length 255 @con_is_notnull 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 ()
 @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

Class ilBiblData.

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

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

Member Function Documentation

◆ getConnectorContainerName()

ilBiblData::getConnectorContainerName ( )

@description Return the Name of your Connector Table

Reimplemented from ActiveRecord.

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

38 : string
39 {
40 return self::TABLE_NAME;
41 }

References TABLE_NAME.

◆ getFilename()

ilBiblData::getFilename ( )
Deprecated:

Implements ilBiblDataInterface.

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

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

References $filename.

◆ getFileType()

ilBiblData::getFileType ( )

Implements ilBiblDataInterface.

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

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

References $file_type.

◆ getId()

ilBiblData::getId ( )

Implements ilBiblDataInterface.

Definition at line 85 of file class.ilBiblData.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.

◆ getResourceId()

ilBiblData::getResourceId ( )
Returns
string

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

134 : ?string
135 {
136 return $this->rid;
137 }
string $rid
@con_has_field true @con_fieldtype text @con_length 255 @con_is_notnull true

References $rid.

◆ isOnline()

ilBiblData::isOnline ( )

Implements ilBiblDataInterface.

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

108 : bool
109 {
110 return (bool) $this->is_online;
111 }
int $is_online
@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true

References $is_online.

◆ returnDbTableName()

static ilBiblData::returnDbTableName ( )
static
Exceptions

arException

Deprecated:

Reimplemented from ActiveRecord.

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

32 : string
33 {
34 return self::TABLE_NAME;
35 }

References TABLE_NAME.

◆ setFilename()

ilBiblData::setFilename ( string  $filename)
Deprecated:

Implements ilBiblDataInterface.

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

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

References $filename.

◆ setFileType()

ilBiblData::setFileType ( int  $file_type)

Implements ilBiblDataInterface.

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

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

References $file_type.

◆ setId()

ilBiblData::setId ( int  $id)

Implements ilBiblDataInterface.

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

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

References $id.

◆ setIsOnline()

ilBiblData::setIsOnline ( int  $is_online)

Implements ilBiblDataInterface.

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

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

References $is_online.

◆ setResourceId()

ilBiblData::setResourceId ( string  $rid)

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

139 : self
140 {
141 $this->rid = $rid;
142 return $this;
143 }

References $rid.

Field Documentation

◆ $file_type

int ilBiblData::$file_type = null
protected

@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true

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

Referenced by getFileType(), and setFileType().

◆ $filename

string ilBiblData::$filename = null
protected

@con_has_field true @con_fieldtype text @con_length 256 @con_is_notnull true

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

Referenced by getFilename(), and setFilename().

◆ $id

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

Referenced by getId(), and setId().

◆ $is_online

int ilBiblData::$is_online = null
protected

@con_has_field true @con_fieldtype integer @con_length 1 @con_is_notnull true

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

Referenced by isOnline(), and setIsOnline().

◆ $rid

string ilBiblData::$rid = null
protected

@con_has_field true @con_fieldtype text @con_length 255 @con_is_notnull true

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

Referenced by getResourceId(), and setResourceId().

◆ TABLE_NAME

const ilBiblData::TABLE_NAME = 'il_bibl_data'

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

Referenced by getConnectorContainerName(), and returnDbTableName().


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