API Documentation

Service/StrikeIron/Decorator.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
StrikeIron
version
$Id: Decorator.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Service_StrikeIron_Decorator

Description

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.

Zend_Service_StrikeIron_Decorator

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
StrikeIron
Properties
$_name
$_object
Methods
__construct
__get
__call
_inflect
_decorate
getDecoratedObject
getDecoratedObjectName

Description

Decorates a StrikeIron response object returned by the SOAP extension to provide more a PHP-like interface.

Properties

$_name

null|string $_name = 'null'

Name of the decorated object

Details

$_name
null|string
visibility
protected
default
null
final
false
static
false

$_object

object $_object = 'null'

Object to decorate

Details

$_object
object
visibility
protected
default
null
final
false
static
false

Methods

__call

__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.

Arguments
$method
string
Name of method called
$args
array
Arguments for method
Details
visibility
public
final
false
static
false

__construct

__construct( object $object, null|string $name = null ) :

Class constructor

Arguments
$object
object
Object to decorate
$name
nullstring
Name of the object
Details
visibility
public
final
false
static
false

__get

__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.

Arguments
$property
string
Property name to retrieve
Output
mixed
Value of property or NULL
Details
visibility
public
final
false
static
false

_decorate

_decorate( mixed $result ) : mixed

Decorate a value returned by the result object. The default implementation here only decorates child objects.

Arguments
$result
mixed
Value to decorate
Output
mixed
Decorated result
Details
visibility
protected
final
false
static
false

_inflect

_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".

Arguments
$property
string
Property name to inflect
Output
string
Inflected property name
Details
visibility
protected
final
false
static
false

getDecoratedObject

getDecoratedObject( ) : object

Return the object being decorated

Output
object
Details
visibility
public
final
false
static
false

getDecoratedObjectName

getDecoratedObjectName( ) : null|string

Return the name of the object being decorated

Output
null|string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.