ForwardFW
[ class tree: ForwardFW ] [ index: ForwardFW ] [ all elements ]

Class: ForwardFW_Object

Source Location: /Object.php

Class Overview


A basic object/model inside ForwardFW, which can autoload its data fields.


Author(s):

Variables

Methods


Child classes:

ForwardFW_Object_Sql
A object/model that can load themself from DB.
ForwardFW_Object_Timer
Model for mesuring time, can add hints with meantime

Class Details

[line 43]
A basic object/model inside ForwardFW, which can autoload its data fields.



Tags:



[ Top ]


Class Variables

$ID =  0

[line 50]



Tags:

access:  protected

Type:   mixed


[ Top ]

$strIdFieldName =  'ID'

[line 57]

Name of the field in data array, which holds the ID



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


constructor __construct [line 66]

new __construct( [strinf $_strIdFieldName = 'ID'])

Constructur



Tags:

return:  instance


Overridden in child classes as:

ForwardFW_Object_Sql::__construct()
constructor
ForwardFW_Object_Timer::__construct()
Starts the timer

Parameters:

strinf   $_strIdFieldName   Name of the ID field in data

[ Top ]

method loadByArray [line 78]

void loadByArray( array &$arRow)

Loads the model data out of an array as data set



Parameters:

array   &$arRow   The array with data to read out

[ Top ]

method saveToArray [line 90]

void saveToArray( array &$arRow)

Saves the model data into an array as data set



Parameters:

array   &$arRow   The array into which the data will be written

[ Top ]


Documentation generated on Sun, 30 Jan 2011 20:46:44 +0100 by phpDocumentor 1.4.3