method getOptions documentation in bbn\User\Manager
function(string $type, string $id)
{
if (($pref = Preferences::getPreferences())
&& ($cfg = $pref->getClassCfg())
) {
if (stripos($type, 'group') === 0) {
return $this->db->rselectAll(
$cfg['table'], [], [
$cfg['arch']['user_options']['id_group'] => $id
]
);
}
elseif (stripos($type, 'user') === 0) {
return $this->db->rselectAll(
$cfg['table'], [], [
$cfg['arch']['user_options']['id_user'] => $id
]
);
}
}
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