method getBitsOrder documentation in bbn\User\Preferences
function(string $id_user_option)
{
if ($this->isAuthorized($id_user_option)) {
$tab1 = $this->class_cfg['tables']['user_options'];
$tab2 = $this->class_cfg['tables']['user_options_bits'];
$cfg = $this->class_cfg['arch']['user_options'];
$cfg2 = $this->class_cfg['arch']['user_options_bits'];
if ($this->db->selectOne($tab1, $cfg['id_user'], ['id' => $id_user_option]) === $this->id_user) {
return $this->db->getColumnValues($tab2, $cfg2['id_option'], [$cfg2['id_user_option'] => $id_user_option], [$cfg2['num'] => 'ASC']);
}
}
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-2025
BBN Solutions