__construct() __construct(\HEXONET\Response response) : Constructor Parameters \HEXONET\Response response A response as a string Returns
asHash() asHash() : mixed|string|int Returns the response as a hash Returns mixed|string|int — The response as a hash
asListHash() asListHash() : mixed|string|int Returns the response as a list hash Returns mixed|string|int — The response as a list hash
asList() asList() : mixed|string|int Returns the response as a list Returns mixed|string|int — The response as a list
properties() properties() : mixed|string|int Returns the response properties Returns mixed|string|int — The response properties
property() property( index = null) : mixed|string|int Returns the property for a given index If no index given, the complete property list is returned Parameters index The index of the property Returns mixed|string|int — A proterty
isSuccess() isSuccess() : Returns true if the results is a success Success = response code starting with 2 Returns —
isTmpError() isTmpError() : Returns true if the results is a tmp error tmp error = response code starting with 4 Returns —
__get() __get( name) : Operator overloading Example: __get("code") == $response->code Parameters name An array key Returns
offsetSet() offsetSet( offset, value) : ArrayAccess : offsetSet not implemented Parameters offset An array key value A value Returns
offsetExists() offsetExists( offset) : ArrayAccess : offsetExists Return true if the array key exists Parameters offset An array key Returns
offsetUnset() offsetUnset( offset) : ArrayAcess : offsetUnset not implemented Parameters offset An array key Returns
offsetGet() offsetGet( offset) : ArrayAccess : offsetGet Return the array for the given offset Parameters offset An array key Returns
count() count() : Returns the number of list elements returned (= last - first + 1) Returns — The number of list elements returned
total() total() : Returns the total number of elements found (!= count) Returns — The total number of elements found
page() page() : Returns the number of the current page (starts with 1) Returns — The number of the current page
prevpage() prevpage() : Returns the number of the previous page Returns — The number of the previous page
prevpagefirst() prevpagefirst() : Returns the first index for the previous page Returns — The first index of the previous page
nextpagefirst() nextpagefirst() : Returns the first index for the next page Returns — The first index of the next page
lastpagefirst() lastpagefirst() : Returns the first index for the last page Returns — The first index of the last page
rewind() rewind() : mixed|string|int Iterator : rewind Set the iterator to 0 Returns mixed|string|int — The first element of the list
current() current() : mixed|string|int Iterator : current Returns the current element of the list Returns mixed|string|int — The current element of the list
key() key() : Iterator : key Returns the key of the current element Returns — The key of the current element
next() next() : Iterator : next Returns the key of the next element Returns — The key of the next element
valid() valid() : mixed|string|int Iterator : valid Returns the element if it exists Returns mixed|string|int — The element if it exists