Method | Description | |
---|---|---|
__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 ( ) |
Method | Description | |
---|---|---|
refresh ( ) | Refreshes the list |
Method | Description | |
---|---|---|
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 | ||
return | array | Returns computed array of values that represent list. |
public getDataClassName ( ) : string | null | ||
return | string | null | Returns data class name |
public getExternalIdentifiers ( ) : array | ||
return | array | Returns the list of the external identifiers. |
public getNextToken ( ) : string | ||
return | string | Returns nextToken. |
public getOriginal ( ) : array | ||
return | 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 |
return | 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 | |
return | boolean | Returns TRUE if object is an instancse of correct data class |
public setNextToken ( string $nextToken ) | ||
$nextToken | string | Next Token |