PHP Class Api\StructType\ApiItem

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

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

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

__toString() public méthode

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

getAny() public méthode

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

getDisplayName() public méthode

Get displayName value
public getDisplayName ( ) : string | null
Résultat string | null

getId() public méthode

Get id value
public getId ( ) : string | null
Résultat string | null

getItemType() public méthode

Get itemType value
public getItemType ( ) : string | null
Résultat string | null

setAny() public méthode

Set any value
public setAny ( DOMDocument $any = null ) : ApiItem
$any DOMDocument
Résultat ApiItem

setDisplayName() public méthode

Set displayName value
public setDisplayName ( string $displayName = null ) : ApiItem
$displayName string
Résultat ApiItem

setId() public méthode

Set id value
public setId ( string $id = null ) : ApiItem
$id string
Résultat ApiItem

setItemType() public méthode

Set itemType value
public setItemType ( string $itemType = null ) : ApiItem
$itemType string
Résultat ApiItem

Property Details

$any public_oe property

The any
public DOMDocument $any
Résultat DOMDocument

$displayName public_oe property

The displayName
public string $displayName
Résultat string

$id public_oe property

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

$itemType public_oe property

The itemType
public string $itemType
Résultat string