\Hazaar\Model
DataBinderValue
DataBinderValue short summary.

DataBinderValue description.

Tags

Version

1.0

Author

jamie

Summary
Methods Properties Constants
No constants
Properties
$label
$label
$name
$name
$other
$other
$value
$value
Methods
__construct()
__construct($value, $label = null, $other = null)

Parameters

$value

No description

$label

No description

$other

No description

__toString()
__toString()
Static
create()
create($value, $label = null, $other = null) : DataBinderValue|null
Get a new DataBinderValue object if the supplied value is valid and non-null

If the value is NULL, then a new DataBinderValue will not be returned. This method is useful for executing code conditionally if the value is a valid DataBinderValue value.

Parameters

$valuemixed

No description

$labelmixed

No description

$other

No description

Returns

\Hazaar\Model\DataBinderValue|null
jsonSerialize()
jsonSerialize()
toArray()
toArray()