method getCfg documentation in bbn\User

Returns the current user's configuration.

function($attr = '') { if ($this->check()) { if (!$this->cfg) { $this->cfg = $this->session->get('cfg'); } if (empty($attr)) { return $this->cfg; } if (isset($this->cfg[$attr])) { return $this->cfg[$attr]; } } return null; }

Returns the current user's configuration. 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.