Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Decorates a StrikeIron response object returned by the SOAP extension to provide more a PHP-like interface.
null|string $_name = 'null'
Name of the decorated object
object $_object = 'null'
Object to decorate
__call(
string $method, array $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.
__construct(
object $object, null|string $name
=
null
)
:
Class constructor
__get(
string $property
)
:
mixed
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.
_decorate(
mixed $result
)
:
mixed
Decorate a value returned by the result object. The default implementation here only decorates child objects.
_inflect(
string $property
)
:
string
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".
getDecoratedObject(
)
:
object
Return the object being decorated
getDecoratedObjectName(
)
:
null|string
Return the name of the object being decorated