Метод | Описание | |
---|---|---|
__construct ( string | array | object $aListData = null, string | array $propertyName = null, string $dataClassName = null ) | Constructor | |
append ( mixed $item ) | Appends item to the list | |
count ( ) | ||
current ( ) | ||
get ( integer $position = null ) : mixed | Gets an original object at position N | |
getComputed ( ) : array | Gets computed list | |
getDataClassName ( ) : string | null | Gets data class name restriction | |
getExternalIdentifiers ( ) : array | Gets an external identifier keys that are associated with this object. | |
getNextToken ( ) : string | Gets nextToken. | |
getOriginal ( ) : array | Gets original list. | |
getPropertyName ( ) : string | array | null | Gets property name of object or a key of assocciative array | |
getQueryArray ( string $uriParameterName = null, boolean $member = true ) : string | Gets query parameters array. | |
isValidObject ( mixed $object ) : boolean | Checks if required object is valid. | |
key ( ) | ||
next ( ) | ||
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
rewind ( ) | ||
setNextToken ( string $nextToken ) | Sets nextToken. | |
valid ( ) |
Метод | Описание | |
---|---|---|
refresh ( ) | Refreshes the list |
Метод | Описание | |
---|---|---|
typeCastData ( mixed $v ) : mixed | Type casts an list data object. |
public __construct ( string | array | object $aListData = null, string | array $propertyName = null, string $dataClassName = null ) | ||
$aListData | string | array | object | An array or single element of the list. It can be array of the objects of dataClassName class or a single object of the mentioned class. |
$propertyName | string | array | optional A public property name of the object that is used as out for query string. |
$dataClassName | string | optional A data class name of the objects which form a list. |
public getComputed ( ) : array | ||
Результат | array | Returns computed array of values that represent list. |
public getDataClassName ( ) : string | null | ||
Результат | string | null | Returns data class name |
public getExternalIdentifiers ( ) : array | ||
Результат | array | Returns the list of the external identifiers. |
public getNextToken ( ) : string | ||
Результат | string | Returns nextToken. |
public getOriginal ( ) : array | ||
Результат | array | Returns original data array that has been passed as first argument in constructor. |
public getQueryArray ( string $uriParameterName = null, boolean $member = true ) : string | ||
$uriParameterName | string | optional Parameter name. If null it will use class property name that is provided in constructor. |
$member | boolean | optional Should it add member prefix |
Результат | string | Returns query parameters array looks like array ( 'parameterName.member.n[.propName[.member.m]]' => value ) Values are not url encoded. |
public isValidObject ( mixed $object ) : boolean | ||
$object | mixed | |
Результат | boolean | Returns TRUE if object is an instancse of correct data class |
public setNextToken ( string $nextToken ) | ||
$nextToken | string | Next Token |