PHP 클래스 Scalr\Service\Aws\AbstractDataType

부터: 10.10.2012
저자: Vitaliy Demidov ([email protected])
상속: extends Scalr\Service\Aws\AbstractServiceRelatedType
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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

_getServiceRelatedDatasetUpdated() 공개 메소드

This method is for internal usage only

_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