Method |
Description |
|
array_match_key ( array $map, string $key ) : boolean |
Returns true if the array contains a key like $key |
|
escapeInvalidXmlCharsRegex ( $textContent ) : string |
Escapes invalid xml characters |
|
filterKeyPrefix ( array $map, string $keyPrefix ) : array |
Filter an array based on keys that match given prefix |
|
getLocalIPAddress ( ) |
Get the local IP address. The client address is a required
request parameter for some API calls |
|
isAttributeProperty ( string $class, string $propertyName ) : string |
Determine if a property in a given class is a
attribute type. |
|
isIPv4 ( $ip ) : boolean |
Determines if valid IPv4 or not |
|
isPropertyArray ( string $class, string $propertyName ) : string |
Determine if a property in a given class is a
collection type. |
|
lowerKeys ( array $array ) : array |
Convert all array keys to lowercase |
|
nvpToMap ( string $nvpString ) : array |
Convert a Name Value Pair (NVP) formatted string into
an associative array taking care to urldecode array values |
|
objectProperties ( object $object ) : array |
|
|
propertyAnnotations ( string $class, string $propertyName ) : string |
Get property annotations for a certain property in a class |
|
propertyType ( string $class, string $propertyName ) : string |
Get data type of a property in a given class |
|
xmlToArray ( string $xmlInput ) |
Convert xml string to an intermediate nested array
representation that can be iterated |
|