method __construct documentation in bbn\User\Preferences

Preferences constructor.

function(bbn\Db $db, array $cfg = []) { parent::__construct($db); $this->_init_class_cfg($cfg); if ($user = bbn\User::getInstance()) { $this->_initUser($user); } $this->opt = bbn\Appui\Option::getInstance(); if ($this->user && $this->opt) { self::retrieverInit($this); } }

Preferences constructor. 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.