PHP Класс Scalr\Service\Aws\AbstractDataType

С версии: 10.10.2012
Автор: Vitaliy Demidov ([email protected])
Наследование: extends Scalr\Service\Aws\AbstractServiceRelatedType
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_externalKeys array List of external identifier names.
$_properties array List of the public properties which is managed by magic getter and setters internally.

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

Метод Описание
__call ( string $name, $arguments ) : mixed It allows to get|set an external identifier value or internal property value
__construct ( ) Constructor
__get ( string $name ) : mixed
__isset ( string $name ) : boolean
__set ( string $name, mixed $data )
__unset ( unknown_type $name )
_getExternalKeysUpdated ( ) : boolean This method is for internal usage only
_getServiceRelatedDatasetUpdated ( ) : boolean This method is for internal usage only
_hasInheritedDataSet ( ) : boolean Returns true if inherited data is set.
_setExternalKeysUpdated ( boolean $updated ) : AbstractDataType This method is for internal usage only
_setServiceRelatedDatasetUpdated ( boolean $updated ) : AbstractDataType This method is for internal usage only
appendContentToElement ( DOMNode $toElement ) : DOMNode Appends DomDocument content to given element
getExternalIdentifiers ( ) : array Gets an external identifier keys that are associated with this object.
getOriginalXml ( ) : string Gets an original XML that is received in response from service.
getPropertiesForInheritance ( ) : array Get the properties which are used for inheritance properties purposes.
getQueryArray ( string $uriParameterName = null, boolean $member = true ) : array Gets query parameters array.
getQueryArrayBare ( string $uriParameterName = null ) : array Gets query parameters array without member prefix
getReflectionClass ( ) : ReflectionClass Gets a reflection class of this object
getServiceNames ( )
resetObject ( ) Resets object including internal properties values keys for which are defined in protected $_properties array.
setOriginalXml ( string $xml ) : AbstractDataType Sets original xml that is received in response from service
toArray ( boolean $ucase = false, array &$known = null ) : array Gets data as array.
toXml ( boolean $returnAsDom = false, array &$known = null ) : DOMDocument | string Gets object as XML

Защищенные методы

Метод Описание
setExternalIdentifiersRecursively ( mixed &$inner ) Sets external identifiers recursively
uppercaseProperty ( string $property ) : string Gets uppercased property

Приватные методы

Метод Описание
_setExternalIdentifiersRecursively ( object &$holder, object &$inner ) Sets external identifiers recursively

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

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

It allows to get|set an external identifier value or internal property value
public __call ( string $name, $arguments ) : mixed
$name string
Результат mixed

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

Constructor
public __construct ( )

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

public __get ( string $name ) : mixed
$name string property name
Результат mixed

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

public __isset ( string $name ) : boolean
$name string
Результат boolean

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

public __set ( string $name, mixed $data )
$name string
$data mixed

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

public __unset ( unknown_type $name )
$name unknown_type

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

This method is for internal usage only
public _getExternalKeysUpdated ( ) : boolean
Результат boolean

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

This method is for internal usage only
public _getServiceRelatedDatasetUpdated ( ) : boolean
Результат boolean

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

Returns true if inherited data is set.
public _hasInheritedDataSet ( ) : boolean
Результат boolean Returns true if inherited data is set.

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

This method is for internal usage only
public _setExternalKeysUpdated ( boolean $updated ) : AbstractDataType
$updated boolean
Результат AbstractDataType

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

This method is for internal usage only
public _setServiceRelatedDatasetUpdated ( boolean $updated ) : AbstractDataType
$updated boolean
Результат AbstractDataType

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

Appends DomDocument content to given element
public appendContentToElement ( DOMNode $toElement ) : DOMNode
$toElement DOMNode
Результат DOMNode

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

Gets an external identifier keys that are associated with this object.
public getExternalIdentifiers ( ) : array
Результат array Returns the list of the external identifiers.

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

Gets an original XML that is received in response from service.
public getOriginalXml ( ) : string
Результат string Returns XML

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

Get the properties which are used for inheritance properties purposes.
public getPropertiesForInheritance ( ) : array
Результат array Returns a list of the public properties which is managed by magic getter and setters internally.

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

Gets query parameters array.
public getQueryArray ( string $uriParameterName = null, boolean $member = true ) : array
$uriParameterName string optional Parameter name
$member boolean optional Should it add member prefix
Результат array Returns query parameters array looks like array ( '[parameterName.member.][propName[.member.m]]' => value ) Values are not url encoded.

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

Gets query parameters array without member prefix
public getQueryArrayBare ( string $uriParameterName = null ) : array
$uriParameterName string optional Parameter name.
Результат array Returns query parameters array looks like array ( '[parameterName.][propName[.n]]' => value ) Values are not url encoded.

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

Gets a reflection class of this object
public getReflectionClass ( ) : ReflectionClass
Результат ReflectionClass

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

public getServiceNames ( )

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

Resets object including internal properties values keys for which are defined in protected $_properties array.
public resetObject ( )

setExternalIdentifiersRecursively() защищенный Метод

Sets external identifiers recursively
protected setExternalIdentifiersRecursively ( mixed &$inner )
$inner mixed

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

Sets original xml that is received in response from service
public setOriginalXml ( string $xml ) : AbstractDataType
$xml string XML string
Результат AbstractDataType

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

Gets data as array.
public toArray ( boolean $ucase = false, array &$known = null ) : array
$ucase boolean optional If True if will uppercase key names of the array.
$known array optional It's only for internal usage
Результат array Returns data as array

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

Gets object as XML
public toXml ( boolean $returnAsDom = false, array &$known = null ) : DOMDocument | string
$returnAsDom boolean optional Should it return DOMDocument object or plain xml string. If it's true it will return DOMDocument.
$known array optional It's for internal usage
Результат DOMDocument | string Returns object converted into either XML string or DOMDocument, depends on returnAsDom option.

uppercaseProperty() защищенный Метод

Gets uppercased property
protected uppercaseProperty ( string $property ) : string
$property string
Результат string Returns uppercased property

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

$_externalKeys защищенное свойство

List of external identifier names.
protected array $_externalKeys
Результат array

$_properties защищенное свойство

List of the public properties which is managed by magic getter and setters internally.
protected array $_properties
Результат array