Zend Framework
1.12
|
Public Member Functions | |
__construct ($object, $name=null) | |
Class constructor. | |
__get ($property) | |
Proxy property access to the decorated object, inflecting the property name and decorating any child objects returned. | |
__call ($method, $args) | |
Proxy method calls to the decorated object. | |
getDecoratedObject () | |
Return the object being decorated. | |
getDecoratedObjectName () | |
Return the name of the object being decorated. | |
Protected Member Functions | |
_inflect ($property) | |
Inflect a property name from PHP-style to the result object's style. | |
_decorate ($result) | |
Decorate a value returned by the result object. | |
Protected Attributes | |
$_name = null | |
$_object = null | |
__construct | ( | $object, | |
$name = null |
|||
) |
Class constructor.
object | $object | Object to decorate |
null | string | $name | Name of the object |
__call | ( | $method, | |
$args | |||
) |
Proxy method calls to the decorated object.
This will only be used when the SOAPClient returns a custom PHP object via its classmap option so no inflection is done.
string | $method | Name of method called |
array | $args | Arguments for method |
__get | ( | $property | ) |
Proxy property access to the decorated object, inflecting the property name and decorating any child objects returned.
If the property is not found in the decorated object, return NULL as a convenience feature to avoid notices.
string | $property | Property name to retrieve |
|
protected |
Decorate a value returned by the result object.
The default implementation here only decorates child objects.
mixed | $result | Value to decorate |
|
protected |
Inflect a property name from PHP-style to the result object's style.
The default implementation here only inflects the case of the first letter, e.g. from "fooBar" to "FooBar".
string | $property | Property name to inflect |
getDecoratedObject | ( | ) |
Return the object being decorated.
getDecoratedObjectName | ( | ) |
Return the name of the object being decorated.
|
protected |
|
protected |