PHP Class Api\ArrayType\ApiArrayOfError

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructArrayBase
Afficher le fichier Open project: wsdltophp/packagegenerator

Méthodes publiques

Свойство Type Description
$Error Api\StructType\ApiError[] The Error Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 0

Méthodes publiques

Méthode Description
__construct ( array $error = [] ) Constructor method for ArrayOfError
__set_state ( array $array ) : ApiArrayOfError 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\ApiError $item ) : ApiArrayOfError Add item to Error value
current ( ) : Api\StructType\ApiError | null Returns the current element
first ( ) : Api\StructType\ApiError | null Returns the first element
getAttributeName ( ) : string Returns the attribute name
getError ( ) : Api\StructType\ApiError[] | null Get Error value
item ( integer $index ) : Api\StructType\ApiError | null Returns the indexed element
last ( ) : Api\StructType\ApiError | null Returns the last element
offsetGet ( integer $offset ) : Api\StructType\ApiError | null Returns the element at the offset
setError ( array $error = [] ) : ApiArrayOfError Set Error value

Method Details

__construct() public méthode

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

__set_state() public static méthode

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 ) : ApiArrayOfError
$array array the exported values
Résultat ApiArrayOfError

__toString() public méthode

Method returning the class name
public __toString ( ) : string
Résultat string __CLASS__

addToError() public méthode

Add item to Error value
public addToError ( Api\StructType\ApiError $item ) : ApiArrayOfError
$item Api\StructType\ApiError
Résultat ApiArrayOfError

current() public méthode

Returns the current element
See also: AbstractStructArrayBase::current()
public current ( ) : Api\StructType\ApiError | null
Résultat Api\StructType\ApiError | null

first() public méthode

Returns the first element
See also: AbstractStructArrayBase::first()
public first ( ) : Api\StructType\ApiError | null
Résultat Api\StructType\ApiError | null

getAttributeName() public méthode

Returns the attribute name
See also: AbstractStructArrayBase::getAttributeName()
public getAttributeName ( ) : string
Résultat string Error

getError() public méthode

Get Error value
public getError ( ) : Api\StructType\ApiError[] | null
Résultat Api\StructType\ApiError[] | null

item() public méthode

Returns the indexed element
See also: AbstractStructArrayBase::item()
public item ( integer $index ) : Api\StructType\ApiError | null
$index integer
Résultat Api\StructType\ApiError | null

last() public méthode

Returns the last element
See also: AbstractStructArrayBase::last()
public last ( ) : Api\StructType\ApiError | null
Résultat Api\StructType\ApiError | null

offsetGet() public méthode

Returns the element at the offset
See also: AbstractStructArrayBase::offsetGet()
public offsetGet ( integer $offset ) : Api\StructType\ApiError | null
$offset integer
Résultat Api\StructType\ApiError | null

setError() public méthode

Set Error value
public setError ( array $error = [] ) : ApiArrayOfError
$error array
Résultat ApiArrayOfError

Property Details

$Error public_oe property

The Error Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 0
public ApiError[],Api\StructType $Error
Résultat Api\StructType\ApiError[]