PHP Class Api\ArrayType\ApiArrayOfString

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructArrayBase
Exibir arquivo Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$string string[] The string Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 0

Public Methods

Method Description
__construct ( array $string = [] ) Constructor method for ArrayOfString
__set_state ( array $array ) : ApiArrayOfString 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
addToString ( string $item ) : ApiArrayOfString Add item to string value
current ( ) : string | null Returns the current element
first ( ) : string | null Returns the first element
getAttributeName ( ) : string Returns the attribute name
getString ( ) : string[] | null Get string value
item ( integer $index ) : string | null Returns the indexed element
last ( ) : string | null Returns the last element
offsetGet ( integer $offset ) : string | null Returns the element at the offset
setString ( array $string = [] ) : ApiArrayOfString Set string value

Method Details

__construct() public method

Constructor method for ArrayOfString
public __construct ( array $string = [] )
$string 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 ) : ApiArrayOfString
$array array the exported values
return ApiArrayOfString

__toString() public method

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

addToString() public method

Add item to string value
public addToString ( string $item ) : ApiArrayOfString
$item string
return ApiArrayOfString

current() public method

Returns the current element
See also: AbstractStructArrayBase::current()
public current ( ) : string | null
return string | null

first() public method

Returns the first element
See also: AbstractStructArrayBase::first()
public first ( ) : string | null
return string | null

getAttributeName() public method

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

getString() public method

Get string value
public getString ( ) : string[] | null
return string[] | null

item() public method

Returns the indexed element
See also: AbstractStructArrayBase::item()
public item ( integer $index ) : string | null
$index integer
return string | null

last() public method

Returns the last element
See also: AbstractStructArrayBase::last()
public last ( ) : string | null
return string | null

offsetGet() public method

Returns the element at the offset
See also: AbstractStructArrayBase::offsetGet()
public offsetGet ( integer $offset ) : string | null
$offset integer
return string | null

setString() public method

Set string value
public setString ( array $string = [] ) : ApiArrayOfString
$string array
return ApiArrayOfString

Property Details

$string public_oe property

The string Meta informations extracted from the WSDL - maxOccurs: unbounded - minOccurs: 0
public string[] $string
return string[]