Model objects are returned from most of the query functions on
sitedata. They are also bound to rendering contexts. A model object could
be a component, a template, or any other object type.
By default, the following properties are available:
Type | Description |
---|---|
id | The ID of the object. |
title | The title of the object. |
titleId | The title internationalization message ID of the object. |
description | The description of the object. |
descriptionId | The description internationalization message ID of the object. |
typeId | The type ID of the underlying model object. |
properties | An associative array (map) of all properties on the object. |
resources | Returns a ScriptResources object. |
The following metadata properties are available:
Type | Description |
---|---|
timestamp | The modification time of the object(long). |
persisterId | The ID of the persister to which the object belongs. |
storagePath | The path to the file within the persister. |