method getData documentation in bbn\User

Retrieves data stored in the data property of the user, only if authenticated.

function(string $idx) { if (!$this->auth) { throw new Exception(X::_("Impossible to retrieve data for an authenticated user")); } return $this->data[$idx] ?? null; }

Retrieves data stored in the data property of the user, only if authenticated. 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.