method jsData documentation in bbn\Mvc\Controller
Sets or add to the output object data property from an array.
function($data)
{
if (is_array($data) && X::isAssoc($data)) {
if (!isset($this->obj->data)) {
$this->obj->data = $data;
}
elseif (X::isAssoc($this->obj->data)) {
$this->obj->data = X::mergeArrays($this->obj->data, $data);
}
}
return $this;
}
Sets or add to the output object data property from an array. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions