method addPermission documentation in bbn\User\Manager

function(string $id_perm, string $id_user = NULL, string $id_group = NULL, int $public = 0) { if (!$id_group && !$id_user && !$public) { throw new \Exception("No paraneters!"); } return (bool)$this->db->insertIgnore( 'bbn_users_options', [ 'id_option' => $id_perm, 'id_user' => $id_user, 'id_group' => $id_group, 'public' => $public ] ); }

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.