PHP Class Api\ArrayType\ApiArrayOfErrorProject

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructArrayBase
Show file Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$Error Api\StructType\ApiErrorProject[] The Error Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 0

Public Methods

Method Description
__construct ( array $error = [] ) Constructor method for ArrayOfError
__set_state ( array $array ) : ApiArrayOfErrorProject Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
__toString ( ) : string Method returning the class name
addToError ( Api\StructType\ApiErrorProject $item ) : ApiArrayOfErrorProject Add item to Error value
current ( ) : Api\StructType\ApiErrorProject | null Returns the current element
first ( ) : Api\StructType\ApiErrorProject | null Returns the first element
getAttributeName ( ) : string Returns the attribute name
getError ( ) : Api\StructType\ApiErrorProject[] | null Get Error value
item ( integer $index ) : Api\StructType\ApiErrorProject | null Returns the indexed element
last ( ) : Api\StructType\ApiErrorProject | null Returns the last element
offsetGet ( integer $offset ) : Api\StructType\ApiErrorProject | null Returns the element at the offset
setError ( array $error = [] ) : ApiArrayOfErrorProject Set Error value

Method Details

__construct() public method

Constructor method for ArrayOfError
public __construct ( array $error = [] )
$error array

__set_state() public static method

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
See also: AbstractStructArrayBase::__set_state()
public static __set_state ( array $array ) : ApiArrayOfErrorProject
$array array the exported values
return ApiArrayOfErrorProject

__toString() public method

Method returning the class name
public __toString ( ) : string
return string __CLASS__

addToError() public method

Add item to Error value
public addToError ( Api\StructType\ApiErrorProject $item ) : ApiArrayOfErrorProject
$item Api\StructType\ApiErrorProject
return ApiArrayOfErrorProject

current() public method

Returns the current element
See also: AbstractStructArrayBase::current()
public current ( ) : Api\StructType\ApiErrorProject | null
return Api\StructType\ApiErrorProject | null

first() public method

Returns the first element
See also: AbstractStructArrayBase::first()
public first ( ) : Api\StructType\ApiErrorProject | null
return Api\StructType\ApiErrorProject | null

getAttributeName() public method

Returns the attribute name
See also: AbstractStructArrayBase::getAttributeName()
public getAttributeName ( ) : string
return string Error

getError() public method

Get Error value
public getError ( ) : Api\StructType\ApiErrorProject[] | null
return Api\StructType\ApiErrorProject[] | null

item() public method

Returns the indexed element
See also: AbstractStructArrayBase::item()
public item ( integer $index ) : Api\StructType\ApiErrorProject | null
$index integer
return Api\StructType\ApiErrorProject | null

last() public method

Returns the last element
See also: AbstractStructArrayBase::last()
public last ( ) : Api\StructType\ApiErrorProject | null
return Api\StructType\ApiErrorProject | null

offsetGet() public method

Returns the element at the offset
See also: AbstractStructArrayBase::offsetGet()
public offsetGet ( integer $offset ) : Api\StructType\ApiErrorProject | null
$offset integer
return Api\StructType\ApiErrorProject | null

setError() public method

Set Error value
public setError ( array $error = [] ) : ApiArrayOfErrorProject
$error array
return ApiArrayOfErrorProject

Property Details

$Error public property

The Error Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 0
public ApiErrorProject[],Api\StructType $Error
return Api\StructType\ApiErrorProject[]