method deleteBits documentation in bbn\User\Preferences

Deletes all bits from a preference

function(string $id_user_option) { if (\bbn\Str::isUid($id_user_option) && $this->isAuthorized($id_user_option)) { $tree = $this->getTree($id_user_option); $i = 0; if ($tree && !empty($tree['items'])) { $this->deleteSubBits($tree['items'], $id_user_option); $i += (int)$this->deleteBit($tree['id']); } return $i; } return null; }

Deletes all bits from a preference 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.