method setCfg documentation in bbn\Appui\Notification
function(array $cfg)
{
if (!empty($cfg['id_option'])
&& isset($cfg['web'], $cfg['browser'], $cfg['mail'], $cfg['mobile'])
) {
return (bool)$this->pref->updateByOption(
$cfg['id_option'], [
'web' => (bool)$cfg['web'],
'browser' => (bool)$cfg['browser'],
'mail' => \is_string($cfg['mail']) ? $cfg['mail'] : (bool)$cfg['mail'],
'mobile' => (bool)$cfg['mobile']
]
);
}
return false;
}
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-2023
BBN Solutions