method saveCfg documentation in bbn\User

Saves the user's config in the cfg field of the users' table.

return self

function() { if ($this->check()) { $this->db->update( $this->class_cfg['tables']['users'], [$this->fields['cfg'] => json_encode($this->cfg)], [$this->fields['id'] => $this->id] ); } return $this; }

Saves the user's config in the cfg field of the users' table. 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.