ZMObject
|
+--ZMModel
public class ZMModel
extends ZMObject
| Constructor Summary | |
|---|---|
ZMModel() Create new instance. |
|
| Method Summary | |
|---|---|
| mixed | get(string name) Support to access property values by name. |
| void | populate(array req) Populate all available fields from the given request. |
| void | set(string name, mixed value) Support to set property values by name. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| backtrace, create, log, singleton | |
public ZMModel()
Create new instance. /
public mixed get(string name)
Support to access property values by name.
null.public void populate(array req)
Populate all available fields from the given request.
null, use the current ZMRequest instead.public void set(string name, mixed value)
Support to set property values by name.
Model base class.
This class provides generic support for properties via
get($name),set($name, $value)and, for PHP5, via the corresponding methods__get($name)and__set($name,$value).