method updateTemplate documentation in bbn\Appui\Option
function(string $id = NULL)
{
if (defined('BBN_APPUI') && $this->exists($id)) {
$res = 0;
// All the options referring to this template
$all = $this->getAliases($id);
if (!empty($all)
&& ($export = $this->export($id, 'sfull'))
&& !empty($export['items'])
) {
foreach ($all as $a) {
$res += (int)$this->import($export['items'], $a[$this->fields['id']]);
}
}
return $res;
}
return null;
}
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-2024
BBN Solutions