method makePublic documentation in bbn\User\Preferences

Makes (or unmakes) the given preference public.

function(string $id, bool $cancel = false) { if ($cfg = $this->get($id)) { return $this->db->update( $this->class_table, ['public' => $cancel ? 0 : 1], [ $this->fields['id'] => $id ] ); } return null; }

Makes (or unmakes) the given preference 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.