method __construct documentation in bbn\Appui\Medias
function(bbn\Db $db)
{
parent::__construct($db);
$this->_init_class_cfg();
$this->opt = Option::getInstance();
$this->usr = User::getInstance();
$this->opt_id = $this->opt->fromRootCode('media', 'note', 'appui');
$this->fs = new System();
$this->defaultUrlType = 'media';
$this->taggerInit(
$this->class_cfg['tables']['medias_tags'],
[
'id_tag' => $this->class_cfg['arch']['medias_tags']['id_tag'],
'id_element' => $this->class_cfg['arch']['medias_tags']['id_media']
]
);
}
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