ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilBiblFieldFilter 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 ilBiblFieldFilter:
+ Collaboration diagram for ilBiblFieldFilter:

Public Member Functions

 getConnectorContainerName ()
 @description Return the Name of your Connector Table More...
 
 getId ()
 
 setId (int $id)
 
 getFieldId ()
 
 setFieldId (int $field_id)
 
 getObjectId ()
 
 setObjectId (int $object_id)
 
 getFilterType ()
 
 setFilterType (int $filter_type)
 
- 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 ilBiblFieldFilterInterface
 getId ()
 
 setId (int $id)
 
 getFieldId ()
 
 setFieldId (int $field_id)
 
 getObjectId ()
 
 setObjectId (int $object_id)
 
 getFilterType ()
 
 setFilterType (int $filter_type)
 
 create ()
 
 update ()
 
 delete ()
 

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_filter'
 
- Data Fields inherited from ilBiblFieldFilterInterface
const FILTER_TYPE_MULTI_SELECT_INPUT = 3
 
const FILTER_TYPE_SELECT_INPUT = 2
 
const FILTER_TYPE_TEXT_INPUT = 1
 

Protected Attributes

int $id = 0
 @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...
 
int $field_id = null
 @con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_unique true More...
 
int $object_id = null
 @con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_unique true More...
 
int $filter_type = 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 ilBiblFieldFilter

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

Definition at line 23 of file class.ilBiblFieldFilter.php.

Member Function Documentation

◆ getConnectorContainerName()

ilBiblFieldFilter::getConnectorContainerName ( )

@description Return the Name of your Connector Table

Reimplemented from ActiveRecord.

Definition at line 33 of file class.ilBiblFieldFilter.php.

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

References TABLE_NAME.

◆ getFieldId()

ilBiblFieldFilter::getFieldId ( )

Implements ilBiblFieldFilterInterface.

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

81 : int
82 {
83 return $this->field_id;
84 }
int $field_id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_unique true

References $field_id.

◆ getFilterType()

ilBiblFieldFilter::getFilterType ( )

Implements ilBiblFieldFilterInterface.

Definition at line 101 of file class.ilBiblFieldFilter.php.

101 : int
102 {
103 return $this->filter_type;
104 }
int $filter_type
@con_has_field true @con_fieldtype integer @con_length 1

References $filter_type.

◆ getId()

ilBiblFieldFilter::getId ( )

Implements ilBiblFieldFilterInterface.

Definition at line 71 of file class.ilBiblFieldFilter.php.

71 : ?int
72 {
73 return $this->id;
74 }
int $id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_primary true @c...

References $id.

◆ getObjectId()

ilBiblFieldFilter::getObjectId ( )

Implements ilBiblFieldFilterInterface.

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

91 : int
92 {
93 return $this->object_id;
94 }
int $object_id
@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_unique true

References $object_id.

◆ returnDbTableName()

static ilBiblFieldFilter::returnDbTableName ( )
static
Returns
never
Exceptions

arException

Deprecated:

Reimplemented from ActiveRecord.

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

27 : string
28 {
29 return self::TABLE_NAME;
30 }

References TABLE_NAME.

◆ setFieldId()

ilBiblFieldFilter::setFieldId ( int  $field_id)

Implements ilBiblFieldFilterInterface.

Definition at line 86 of file class.ilBiblFieldFilter.php.

86 : void
87 {
88 $this->field_id = $field_id;
89 }

References $field_id.

◆ setFilterType()

ilBiblFieldFilter::setFilterType ( int  $filter_type)

Implements ilBiblFieldFilterInterface.

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

106 : void
107 {
108 $this->filter_type = $filter_type;
109 }

References $filter_type.

◆ setId()

ilBiblFieldFilter::setId ( int  $id)

Implements ilBiblFieldFilterInterface.

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

76 : void
77 {
78 $this->id = $id;
79 }

References $id.

◆ setObjectId()

ilBiblFieldFilter::setObjectId ( int  $object_id)

Implements ilBiblFieldFilterInterface.

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

96 : void
97 {
98 $this->object_id = $object_id;
99 }

References $object_id.

Field Documentation

◆ $field_id

int ilBiblFieldFilter::$field_id = null
protected

@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_unique true

Definition at line 55 of file class.ilBiblFieldFilter.php.

Referenced by getFieldId(), and setFieldId().

◆ $filter_type

int ilBiblFieldFilter::$filter_type = null
protected

@con_has_field true @con_fieldtype integer @con_length 1

Definition at line 69 of file class.ilBiblFieldFilter.php.

Referenced by getFilterType(), and setFilterType().

◆ $id

int ilBiblFieldFilter::$id = 0
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 47 of file class.ilBiblFieldFilter.php.

Referenced by getId(), and setId().

◆ $object_id

int ilBiblFieldFilter::$object_id = null
protected

@con_has_field true @con_fieldtype integer @con_length 4 @con_is_notnull true @con_is_unique true

Definition at line 63 of file class.ilBiblFieldFilter.php.

Referenced by getObjectId(), and setObjectId().

◆ TABLE_NAME

const ilBiblFieldFilter::TABLE_NAME = 'il_bibl_filter'

Definition at line 25 of file class.ilBiblFieldFilter.php.

Referenced by getConnectorContainerName(), and returnDbTableName().


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