class
DataModel
Representation of a DataModel - a collection of DataLists for each different
data type.
Usage:
$model = new DataModel;
$mainMenu = $model->SiteTree->where('"ParentID" = 0 AND "ShowInMenus" = 1');
Methods
inst()
Get the global DataModel.
set_inst(
DataModel $inst)
Set the global DataModel, used when data is requested from static
methods.
__get(string $class)
No description
Details
at line 33
static DataModel
inst()
Get the global DataModel.
Set the global DataModel, used when data is requested from static
methods.
at line 56
DataList
__get(string $class)
at line 71
__set(string $class, DataList $item)