method getName documentation in bbn\User

Returns the full name of the given user or the current one.

function($usr = NULL) { if ($this->auth) { if (\is_null($usr)) { $usr = $this->getSession(); } elseif (str::isUid($usr)) { $mgr = $this->getManager(); $usr = $mgr->getUser($usr); } if (isset($this->class_cfg['show'], $usr[$this->class_cfg['show']])) { return $usr[$this->class_cfg['show']]; } } return null; }

Returns the full name of the given user or the current one. 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.