method unsetCfg documentation in bbn\Appui\Option
Unsets the cfg column (sets it to null)
Example
X::dump($opt->getCfg('bbn_ide'));
// array ['desc' => "I am a cool option", 'sortable' => true];
function($id)
{
$res = false;
if ($this->check() && $this->exists($id)) {
$res = $this->db->update(
$this->class_cfg['table'], [
$this->fields['cfg'] => null
], [
$this->fields['id'] => $id
]
);
if ($res) {
$this->deleteCache($id);
}
}
return $res;
}
Unsets the cfg column (sets it to 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-2023
BBN Solutions