Свойство | Тип | Описание | |
---|---|---|---|
$_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 ) : |
This method is for internal usage only | |
_setServiceRelatedDatasetUpdated ( boolean $updated ) : |
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 ) : |
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 |
public _getExternalKeysUpdated ( ) : boolean | ||
Результат | boolean |
public _getServiceRelatedDatasetUpdated ( ) : boolean | ||
Результат | boolean |
public _hasInheritedDataSet ( ) : boolean | ||
Результат | boolean | Returns true if inherited data is set. |
public _setExternalKeysUpdated ( boolean $updated ) : |
||
$updated | boolean | |
Результат |
public _setServiceRelatedDatasetUpdated ( boolean $updated ) : |
||
$updated | boolean | |
Результат |
public appendContentToElement ( DOMNode $toElement ) : DOMNode | ||
$toElement | DOMNode | |
Результат | DOMNode |
public getExternalIdentifiers ( ) : array | ||
Результат | array | Returns the list of the external identifiers. |
public getOriginalXml ( ) : string | ||
Результат | string | Returns XML |
public getPropertiesForInheritance ( ) : array | ||
Результат | array | Returns a list of the public properties which is managed by magic getter and setters internally. |
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. |
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. |
public getReflectionClass ( ) : ReflectionClass | ||
Результат | ReflectionClass |
public resetObject ( ) |
protected setExternalIdentifiersRecursively ( mixed &$inner ) | ||
$inner | mixed |
public setOriginalXml ( string $xml ) : |
||
$xml | string | XML string |
Результат |
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. |
protected uppercaseProperty ( string $property ) : string | ||
$property | string | |
Результат | string | Returns uppercased property |
protected array $_externalKeys | ||
Результат | array |
protected array $_properties | ||
Результат | array |