method addToGroup documentation in bbn\User\Preferences

Adds a new preference for the given option for the current user.

function(string $id_option, array $cfg) { if ( ($id_option = $this->_getIdOption($id_option)) && $this->_insert($id_option, $cfg) ) { return $this->db->lastId(); } return null; }

Adds a new preference for the given option for the current user. 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.