\DMSJsonField
Combines form inputs into a key-value pair
Synopsis
class DMSJsonField
extends CompositeField
{
- // methods
- public void __construct()
- private void setChildName()
- public void hasData()
- public void collateDataFields()
- public mixed arrayFilterEmptyRecursive()
- public mixed|null|string dataValue()
- public $this setValue()
Hierarchy
Extends
- CompositeField
Methods
private
- setChildName() — Sets the name of the child object
public
- __construct()
- arrayFilterEmptyRecursive() — Recursively removed empty key-value pairs from $haystack
- collateDataFields() — Override parent's behaviour as it's no longer required
- dataValue() — Overrides parent behaviour to remove empty elements
- hasData()
- setValue() — Sets the value