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

Public Member Functions

 getId ()
 
 setId (int $id)
 
 setHideTitle (bool $a_hide_title)
 
 getHideTitle ()
 
 setBehaviour (int $a_val)
 
 getBehaviour ()
 
 getListPresentation ()
 
 setListPresentation (string $a_val)
 
 getTileSize ()
 
 setTileSize (int $a_val)
 
- 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)
 

Protected Attributes

int $id
 
string $hide_title = ''
 
int $behaviour = 0
 
string $list_presentation = ""
 
int $tile_size = 0
 
- 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 Item group active record class

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Member Function Documentation

◆ getBehaviour()

ilItemGroupAR::getBehaviour ( )

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

References $behaviour.

109  : int
110  {
111  return $this->behaviour;
112  }

◆ getHideTitle()

ilItemGroupAR::getHideTitle ( )

Definition at line 99 of file class.ilItemGroupAR.php.

References $hide_title.

99  : bool
100  {
101  return $this->hide_title;
102  }

◆ getId()

ilItemGroupAR::getId ( )

Definition at line 84 of file class.ilItemGroupAR.php.

References $id.

84  : int
85  {
86  return $this->id;
87  }

◆ getListPresentation()

ilItemGroupAR::getListPresentation ( )

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

References $list_presentation.

114  : string
115  {
116  return (string) $this->list_presentation;
117  }

◆ getTileSize()

ilItemGroupAR::getTileSize ( )

Definition at line 124 of file class.ilItemGroupAR.php.

References $tile_size.

124  : int
125  {
126  return (int) $this->tile_size;
127  }

◆ returnDbTableName()

static ilItemGroupAR::returnDbTableName ( )
static

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

26  : string
27  {
28  return 'itgr_data';
29  }

◆ setBehaviour()

ilItemGroupAR::setBehaviour ( int  $a_val)

Definition at line 104 of file class.ilItemGroupAR.php.

104  : void
105  {
106  $this->behaviour = $a_val;
107  }

◆ setHideTitle()

ilItemGroupAR::setHideTitle ( bool  $a_hide_title)

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

94  : void
95  {
96  $this->hide_title = $a_hide_title;
97  }

◆ setId()

ilItemGroupAR::setId ( int  $id)

Definition at line 89 of file class.ilItemGroupAR.php.

References $id.

89  : void
90  {
91  $this->id = $id;
92  }

◆ setListPresentation()

ilItemGroupAR::setListPresentation ( string  $a_val)

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

119  : void
120  {
121  $this->list_presentation = $a_val;
122  }

◆ setTileSize()

ilItemGroupAR::setTileSize ( int  $a_val)

Definition at line 129 of file class.ilItemGroupAR.php.

129  : void
130  {
131  $this->tile_size = $a_val;
132  }

Field Documentation

◆ $behaviour

int ilItemGroupAR::$behaviour = 0
protected

Definition at line 62 of file class.ilItemGroupAR.php.

Referenced by getBehaviour().

◆ $hide_title

string ilItemGroupAR::$hide_title = ''
protected

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

Referenced by getHideTitle().

◆ $id

int ilItemGroupAR::$id
protected

Definition at line 42 of file class.ilItemGroupAR.php.

Referenced by getId(), and setId().

◆ $list_presentation

string ilItemGroupAR::$list_presentation = ""
protected

Definition at line 72 of file class.ilItemGroupAR.php.

Referenced by getListPresentation().

◆ $tile_size

int ilItemGroupAR::$tile_size = 0
protected

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

Referenced by getTileSize().


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