method deleteBit documentation in bbn\User\Preferences

Deletes a preference's bit

function(string $id) { if (\bbn\Str::isUid($id)) { return $this->db->deleteIgnore( $this->class_cfg['tables']['user_options_bits'], [$this->class_cfg['arch']['user_options_bits']['id'] => $id] ); } return null; }

Deletes a preference's bit 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.