Class MagratheaModel
Methods summary
public
string
|
|
public
array
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public
value
|
|
public
array
|
|
public
|
#
LoadObjectFromTableRow( array $row )
Receives an array with the columns and values and associates then internally into the object |
public
object
|
#
GetById( val $id )
Returns object by Id. If null, creates a null instance of the object. This will also load any related objects that are set as "autoload" internally. if an object with the given id can not be found, or any of the auto-load related objects can not be found an exception will be thrown. |
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
boolean
|
|
public
boolean
|
|
public
val
|
|
public
object
|
|
public static
|
|
public static
|
|
public
string
|
Magic methods summary
Properties summary
protected
|
$dbTable
|
|
protected
|
$autoLoad
|
#
null
|
protected
array
|
$dbValues
|
#
array()
|
protected
array
|
$dbAlias
|
#
array()
|
protected
array
|
$relations
|
#
array()
|
protected
|
$dbPk
|