ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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)
 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 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.
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.
 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

arRealRecord::getDescription ( )
Returns
string

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

References $description.

{
}
arRealRecord::getId ( )
Returns
int

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

References $id.

{
return $this->id;
}
arRealRecord::getTitle ( )
Returns
string

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

References $title.

{
return $this->title;
}
arRealRecord::getUsrIds ( )
Returns
array

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

References $usr_ids.

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

Reimplemented from ActiveRecord.

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

{
return 'ar_demo_real_record';
}
arRealRecord::setDescription (   $description)
Parameters
string$description

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

References $description.

{
$this->description = $description;
}
arRealRecord::setId (   $id)
Parameters
int$id

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

References $id.

{
$this->id = $id;
}
arRealRecord::setTitle (   $title)
Parameters
string$title

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

References $title.

{
$this->title = $title;
}
arRealRecord::setUsrIds (   $usr_ids)
Parameters
array$usr_ids

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

References $usr_ids.

{
$this->usr_ids = $usr_ids;
}

Field Documentation

arRealRecord::$description = ''

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

Referenced by getDescription(), and setDescription().

arRealRecord::$id = 0
protected

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

Referenced by getId(), and setId().

arRealRecord::$title = ''
protected

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

Referenced by getTitle(), and setTitle().

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: