method __construct documentation in bbn\Appui\Observer

observer constructor.

function(bbn\Db $db) { $user = \bbn\User::getInstance(); $this->id_user = $user ? $user->getId() : null; if (defined('BBN_EXTERNAL_USER_ID') && ($this->id_user === BBN_EXTERNAL_USER_ID)) { $this->id_user = null; } parent::__construct($db); }

observer 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.