method __construct documentation in bbn\Appui\Task
function(bbn\Db $db)
{
self::optionalInit();
if ( $user = bbn\User::getInstance() ){
$this->user = $user->getName();
$this->id_user = $user->getId();
$this->is_dev = $user->isDev();
$this->mgr = new bbn\User\Manager($user);
$this->_get_references();
//die(var_dump(BBN_APP_PATH, $this->references));
if ( is_dir(\bbn\Mvc::getAppPath()) && is_file(\bbn\Mvc::getAppPath().'plugins/appui-task/reference.php') ){
$f = include(\bbn\Mvc::getAppPath().'plugins/appui-task/reference.php');
if ( is_callable($f) ){
$this->template = $f;
}
}
}
$this->columns = array_keys($this->db->getColumns('bbn_tasks'));
$this->noteCls = new \bbn\Appui\Note($this->db);
}
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-2024
BBN Solutions