Difference between revisions of "ModelBase API"
Timdavidson (talk | contribs) (New page: An API that should be common to all model classes. Includes core methods that should be available in all classes, and optional methods that provide a common structure for frequently used e...) |
(No difference)
|
Revision as of 16:59, 8 November 2009
An API that should be common to all model classes. Includes core methods that should be available in all classes, and optional methods that provide a common structure for frequently used extensions.
Contents
Core API
Static methods
loadByID
get
mixed get(QueryCondition condition)
description
Returns a single object matching the condition. Raises an exception if 0 or more than one object match.
filter
mixed get(QueryCondition condition)
description
Returns a list of objects matching the condition.