Model
class Model (View source)
A class the defines that possible interactions with a database record.
Properties
protected Record | $record |
Methods
static Model
createFromDatabaseRecord(Record $record)
Initializes the model with the given database record instead of calling the default constructor.
getDatabaseRecord()
Returns the database record for the model.