ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
arRealRecord Class Reference

Class arRealRecord. More...

+ Inheritance diagram for arRealRecord:
+ Collaboration diagram for arRealRecord:

Public Member Functions

 setDescription ($description)
 
 getDescription ()
 
 setId ($id)
 
 getId ()
 
 setTitle ($title)
 
 getTitle ()
 
 setUsrIds ($usr_ids)
 
 getUsrIds ()
 
- 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)
 

Data Fields

 $description = ''
 
- Data Fields inherited from ActiveRecord
const ACTIVE_RECORD_VERSION = '2.0.7'
 

Protected Attributes

 $id = 0
 
 $title = ''
 
 $usr_ids = array()
 
- Protected Attributes inherited from ActiveRecord
 $ar_safe_read = true
 
 $connector_container_name = ''
 

Additional Inherited Members

- 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

Class arRealRecord.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
2.0.7

Definition at line 10 of file class.arRealRecord.php.

Member Function Documentation

◆ getDescription()

arRealRecord::getDescription ( )
Returns
string

Definition at line 66 of file class.arRealRecord.php.

References $description.

66  {
67  return $this->description;
68  }

◆ getId()

arRealRecord::getId ( )
Returns
int

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

References $id.

82  {
83  return $this->id;
84  }

◆ getTitle()

arRealRecord::getTitle ( )
Returns
string

Definition at line 98 of file class.arRealRecord.php.

References $title.

98  {
99  return $this->title;
100  }

◆ getUsrIds()

arRealRecord::getUsrIds ( )
Returns
array

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

References $usr_ids.

114  {
115  return $this->usr_ids;
116  }

◆ returnDbTableName()

static arRealRecord::returnDbTableName ( )
static
Returns
string Return the Name of your Database Table

Definition at line 16 of file class.arRealRecord.php.

16  {
17  return 'ar_demo_real_record';
18  }

◆ setDescription()

arRealRecord::setDescription (   $description)
Parameters
string$description

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

References $description.

58  {
59  $this->description = $description;
60  }

◆ setId()

arRealRecord::setId (   $id)
Parameters
int$id

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

References $id.

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

◆ setTitle()

arRealRecord::setTitle (   $title)
Parameters
string$title

Definition at line 90 of file class.arRealRecord.php.

References $title.

90  {
91  $this->title = $title;
92  }

◆ setUsrIds()

arRealRecord::setUsrIds (   $usr_ids)
Parameters
array$usr_ids

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

References $usr_ids.

106  {
107  $this->usr_ids = $usr_ids;
108  }

Field Documentation

◆ $description

arRealRecord::$description = ''

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

Referenced by getDescription(), and setDescription().

◆ $id

arRealRecord::$id = 0
protected

Definition at line 31 of file class.arRealRecord.php.

Referenced by getId(), and setId().

◆ $title

arRealRecord::$title = ''
protected

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

Referenced by getTitle(), and setTitle().

◆ $usr_ids

arRealRecord::$usr_ids = array()
protected

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

Referenced by getUsrIds(), and setUsrIds().


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