method flatOptions documentation in bbn\Appui\Option
function($code = NULL)
{
if (!bbn\Str::isUid($id = $this->fromCode(\func_get_args()))) {
throw new \Exception(X::_("Impossible to find the option requested in flatOptions"));
}
return $this->db->rselectAll(
$this->class_cfg['table'],
[
$this->class_cfg['arch']['options']['id'],
$this->class_cfg['arch']['options']['text']
],
[$this->class_cfg['arch']['options']['id'] => $this->treeIds($id)],
[$this->class_cfg['arch']['options']['text'] => 'ASC']
);
}
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