Member Function Documentation
Removes object from parent and prevents it from renedring
Reimplemented from AbstractObject.
Reimplemented from Field.
ref() will traverse reference and will attempt to load related model's entry. If the entry will fail to load it will return model which would not be loaded. This can be changed by specifying an argument:
'model' - simply create new model and return it without loading anything false or 'ignore' - will not even try to load anything null (default) - will tryLoad() 'load' - will always load the model and if record is not present, will fail 'create' - if record fails to load, will create new record, save, get ID and insert into $this 'link' - if record fails to load, will return new record, with appropriate afterSave hander, which will update current model also and save it too.
setModel |
( |
$ |
model, |
|
|
$ |
display_field = null |
|
) |
| |
Reimplemented from Field.
Field Documentation
$dereferenced_field = null |
The documentation for this class was generated from the following file: