PHP Класс Api\StructType\ApiItem

Наследование: extends WsdlToPhp\PackageBase\AbstractStructBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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() публичный статический Метод

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
См. также: AbstractStructBase::__set_state()
public static __set_state ( array $array ) : ApiItem
$array array the exported values
Результат ApiItem

__toString() публичный Метод

Method returning the class name
public __toString ( ) : string
Результат string __CLASS__

getAny() публичный Метод

Get any value
public getAny ( boolean $asString = true ) : DOMDocument | null
$asString boolean true: returns XML string, false: returns \DOMDocument
Результат DOMDocument | null

getDisplayName() публичный Метод

Get displayName value
public getDisplayName ( ) : string | null
Результат string | null

getId() публичный Метод

Get id value
public getId ( ) : string | null
Результат string | null

getItemType() публичный Метод

Get itemType value
public getItemType ( ) : string | null
Результат string | null

setAny() публичный Метод

Set any value
public setAny ( DOMDocument $any = null ) : ApiItem
$any DOMDocument
Результат ApiItem

setDisplayName() публичный Метод

Set displayName value
public setDisplayName ( string $displayName = null ) : ApiItem
$displayName string
Результат ApiItem

setId() публичный Метод

Set id value
public setId ( string $id = null ) : ApiItem
$id string
Результат ApiItem

setItemType() публичный Метод

Set itemType value
public setItemType ( string $itemType = null ) : ApiItem
$itemType string
Результат ApiItem

Описание свойств

$any публичное свойство

The any
public DOMDocument $any
Результат DOMDocument

$displayName публичное свойство

The displayName
public string $displayName
Результат string

$id публичное свойство

The id Meta informations extracted from the WSDL - documentation: ID for an object
public string $id
Результат string

$itemType публичное свойство

The itemType
public string $itemType
Результат string