method __construct documentation in bbn\Appui\I18n

Initialize the class I18n

function(bbn\Db $db, string $code = NULL) { parent::__construct($db); $this->parser = new \Gettext\Translations(); $this->user = \bbn\User::getInstance(); $this->options = new \bbn\Appui\Option($db); if (empty($code)) { $code = 'apst-app'; } $this->id_project = \bbn\Str::isUid($code) ? $code : $this->options->fromCode($code, 'list', 'project', 'appui'); }

Initialize the class I18n BBN is a suite of PHP and JS libraries and VueJS components - all open-source!, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.