method nextBitNum documentation in bbn\User\Preferences
function(string $id)
{
if (
\bbn\Str::isUid($id)
&& ($max = $this->db->selectOne(
$this->class_cfg['tables']['user_options_bits'],
'MAX(num)',
[$this->class_cfg['arch']['user_options_bits']['id_user_option'] => $id]
))
) {
return $max + 1;
}
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