hasField()
hasField( $key) : boolean
Check if the data has a field by key.
Parameters
$key |
All data model objects must implement this interface.
hasField( $key) : boolean
Check if the data has a field by key.
$key |
setField( $key, $value) : $this
Set a a data value by key.
$key | ||
$value |
getField( $key, $defaultValue = null) : mixed
Get a data value by key.
$key | ||
$defaultValue |
removeField( $key) : $this
Remove a data value by key.
$key |
getData() : array
Get the data array.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293hasData() : boolean
Check if data array is populated with anything.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293