PHP Class Api\StructType\ApiItem

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructBase
Datei anzeigen Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$any DOMDocument The any
$displayName string The displayName
$id string The id Meta informations extracted from the WSDL - documentation: ID for an object
$itemType string The itemType

Public Methods

Method Description
__construct ( string $itemType = null, string $id = null, string $displayName = null, DOMDocument $any = null ) Constructor method for Item
__set_state ( array $array ) : ApiItem 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
getAny ( boolean $asString = true ) : DOMDocument | null Get any value
getDisplayName ( ) : string | null Get displayName value
getId ( ) : string | null Get id value
getItemType ( ) : string | null Get itemType value
setAny ( DOMDocument $any = null ) : ApiItem Set any value
setDisplayName ( string $displayName = null ) : ApiItem Set displayName value
setId ( string $id = null ) : ApiItem Set id value
setItemType ( string $itemType = null ) : ApiItem Set itemType value

Method Details

__construct() public method

Constructor method for Item
public __construct ( string $itemType = null, string $id = null, string $displayName = null, DOMDocument $any = null )
$itemType string
$id string
$displayName string
$any DOMDocument

__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: AbstractStructBase::__set_state()
public static __set_state ( array $array ) : ApiItem
$array array the exported values
return ApiItem

__toString() public method

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

getAny() public method

Get any value
public getAny ( boolean $asString = true ) : DOMDocument | null
$asString boolean true: returns XML string, false: returns \DOMDocument
return DOMDocument | null

getDisplayName() public method

Get displayName value
public getDisplayName ( ) : string | null
return string | null

getId() public method

Get id value
public getId ( ) : string | null
return string | null

getItemType() public method

Get itemType value
public getItemType ( ) : string | null
return string | null

setAny() public method

Set any value
public setAny ( DOMDocument $any = null ) : ApiItem
$any DOMDocument
return ApiItem

setDisplayName() public method

Set displayName value
public setDisplayName ( string $displayName = null ) : ApiItem
$displayName string
return ApiItem

setId() public method

Set id value
public setId ( string $id = null ) : ApiItem
$id string
return ApiItem

setItemType() public method

Set itemType value
public setItemType ( string $itemType = null ) : ApiItem
$itemType string
return ApiItem

Property Details

$any public_oe property

The any
public DOMDocument $any
return DOMDocument

$displayName public_oe property

The displayName
public string $displayName
return string

$id public_oe property

The id Meta informations extracted from the WSDL - documentation: ID for an object
public string $id
return string

$itemType public_oe property

The itemType
public string $itemType
return string