method __construct documentation in bbn\Appui\Note
Note constructor.
function(bbn\Db $db, string $lang = NULL)
{
parent::__construct($db);
$this->_init_class_cfg(self::$default_class_cfg);
self::optionalInit();
$this->defaultUrlType = 'note';
$this->taggerInit(
$this->class_cfg['tables']['notes_tags'],
[
'id_tag' => $this->class_cfg['arch']['notes_tags']['id_tag'],
'id_element' => $this->class_cfg['arch']['notes_tags']['id_note']
]
);
$this->lang = $lang ?: (defined('BBN_LANG') ? BBN_LANG : 'en');
}
Note 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.
© 2011-2023
BBN Solutions