|
| | publish ($property, $visibility=self::READABLE) |
| | Publish a property (or hide it again). More...
|
| |
| | alias ($alias, $property, $object=null) |
| | Define an alias for a property (of another object). More...
|
| |
| | configure ($config) |
| | Configure the object. More...
|
| |
| | _get ($key) |
| | Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
| |
| | _set ($key, $value) |
| | Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
| |
Basic object.
By making use of the magic getter and setter it is not necessary to define a specific getter and setter for every property upfront. All properties can be used as normal properties (that is: without using getXxx() and setXxx() functions). A property which first was public can be made private/protected, after which it is possible to use a specific getter and/or setter. Private properties can also be published, which makes it unnecessary to create a specic getter and/or setter.
Definition at line 13 of file Thing.php.
Default getter if no specific setter is defined, and the property is also not published (readable).
- Parameters
-
| string | $key | Name of the property. |
- Returns
- mixed Value.
Reimplemented in Controller, Trans, Widget, Request, Log, User, Vars, Item, Container, Record, Minify, Message, and Storage.
Definition at line 79 of file Thing.php.