ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilItemGroupAR Class Reference

Item group active record class. More...

+ Inheritance diagram for ilItemGroupAR:
+ Collaboration diagram for ilItemGroupAR:

Public Member Functions

 getId ()
 Get ID. More...
 
 setId ($id)
 Set ID. More...
 
 setHideTitle ($a_hide_title)
 Set hide title. More...
 
 getHideTitle ()
 Get hide title. More...
 
 setBehaviour ($a_val)
 Set behaviour. More...
 
 getBehaviour ()
 Get behaviour. More...
 
- Public Member Functions inherited from ActiveRecord
 getArConnector ()
 
 getArFieldList ()
 
 getConnectorContainerName ()
 
 setConnectorContainerName ($connector_container_name)
 
 getPrimaryFieldValue ()
 
 setPrimaryFieldValue ($value)
 
 __construct ($primary_key=0, arConnector $connector=null)
 
 storeObjectToCache ()
 
 __getConvertedDateFieldsAsArray ($format=null)
 
 __asCsv ($separator=';', $header=false)
 
 __asArray ()
 
 __asStdClass ()
 
 __asSerializedObject ()
 
 buildFromArray (array $array)
 
 fixDateField ($field_name, $value)
 
 sleep ($field_name)
 
 wakeUp ($field_name, $field_value)
 
 getArrayForDb ()
 
 getArrayForConnector ()
 
 installConnector ()
 
 store ()
 
 save ()
 
 create ()
 
 copy ($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 ($old_name, $new_name)
 
static tableExists ()
 
static fieldExists ($field_name)
 
static removeDBField ($field_name)
 
static updateDB ()
 
static resetDB ()
 
static truncateDB ()
 
static flushDB ()
 
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, $fields=array(' *'), $operator='=', $both_external=false)
 
static innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
static leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
static orderBy ($orderBy, $orderDirection='ASC')
 
static dateFormat ($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 ($set_raw=true)
 
static getArray ($key=null, $values=null)
 
static _toCamelCase ($str, $capitalise_first_char=false)
 

Protected Attributes

 $id
 
 $hide_title = ''
 
 $behaviour = 0
 
- Protected Attributes inherited from ActiveRecord
 $ar_safe_read = true
 
 $connector_container_name = ''
 

Additional Inherited Members

- Data Fields inherited from ActiveRecord
const ACTIVE_RECORD_VERSION = '2.0.7'
 
- Protected Member Functions inherited from ActiveRecord
 serializeToCSV ($field)
 This method is called for every field of your instance if you use __asCsv. More...
 
 installDatabase ()
 
- Static Protected Member Functions inherited from ActiveRecord
static getCalledClass ()
 
static fromCamelCase ($str)
 

Detailed Description

Item group active record class.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Member Function Documentation

◆ getBehaviour()

ilItemGroupAR::getBehaviour ( )

Get behaviour.

Returns
int behaviour

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

References $behaviour.

116  {
117  return $this->behaviour;
118  }

◆ getHideTitle()

ilItemGroupAR::getHideTitle ( )

Get hide title.

Returns
bool hide title

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

References $hide_title.

95  {
96  return $this->hide_title;
97  }

◆ getId()

ilItemGroupAR::getId ( )

Get ID.

Returns
int ID

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

References $id.

63  {
64  return $this->id;
65  }

◆ returnDbTableName()

static ilItemGroupAR::returnDbTableName ( )
static
Returns
string

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

20  {
21  return 'itgr_data';
22  }

◆ setBehaviour()

ilItemGroupAR::setBehaviour (   $a_val)

Set behaviour.

Parameters
int$a_valbehaviour

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

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

◆ setHideTitle()

ilItemGroupAR::setHideTitle (   $a_hide_title)

Set hide title.

Parameters
bool$a_hide_titlehide title

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

84  {
85  $this->hide_title = $a_hide_title;
86  }

◆ setId()

ilItemGroupAR::setId (   $id)

Set ID.

Parameters
int$idID

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

References $id.

74  {
75  $this->id = $id;
76  }

Field Documentation

◆ $behaviour

ilItemGroupAR::$behaviour = 0
protected

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

Referenced by getBehaviour().

◆ $hide_title

ilItemGroupAR::$hide_title = ''
protected

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

Referenced by getHideTitle().

◆ $id

ilItemGroupAR::$id
protected

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

Referenced by getId(), and setId().


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