method userHas documentation in bbn\User\Preferences

Checks if a user has the given preference.

Example

$pref->userHas('042b29722c2f11eca47652540000cfbe'); // (bool) = false; function(string $id_option, string $id_user = NULL) { return (bool)$this->_retrieveIds($id_option, $id_user); }

Checks if a user has the given preference. 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.