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
Detailsobject $_object = 'null'Object to decorate
Details__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.
Details__construct(
object $object, null|string $name
=
null
)
:
Class constructor
Details__get(
string $property
)
:
mixedProxy 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.
Details_decorate(
mixed $result
)
:
mixedDecorate a value returned by the result object. The default implementation here only decorates child objects.
Details_inflect(
string $property
)
:
stringInflect 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".
DetailsgetDecoratedObject(
)
:
objectReturn the object being decorated
DetailsgetDecoratedObjectName(
)
:
null|stringReturn the name of the object being decorated
Details