Exemple #1
0
 public function __construct(projectsModel $model)
 {
     parent::__construct();
     $this->model = $model;
     //$this->todolist = new todolist(new todolistModel()); // On initialize la todolist pour le projet
     $this->viewHelper->setGlobalAssign(array("token" => $this->controllerHelper->_setToken("token"), "configuration" => configuration::getInstance()->getConfiguration(), "javascript" => array("wysihtml5-0.3.0.min", "bootstrap3-wysihtml5", "plugins/tree/jstree.min", "plugins/dropzone/dropzone", "global", "project", "filesmanager"), "css" => array("bootstrap-wysihtml5", "bootstrap3-wysiwyg5-color", "plugins/tree/themes/default/style.min")));
 }
Exemple #2
0
 public function __construct(parametersModel $model)
 {
     parent::__construct();
     $this->model = $model;
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct();
     $this->model = new dashboardModel();
 }
Exemple #4
0
 public function __construct(usersModel $model)
 {
     parent::__construct();
     $this->model = $model;
     $this->viewHelper->setGlobalAssign(array("token" => $this->controllerHelper->_setToken("token"), "configuration" => $config["users"]));
 }
 public function __construct(todolistModel $model)
 {
     parent::__construct();
     $this->model = $model;
     $this->viewHelper->setGlobalAssign(array("token" => $this->controllerHelper->_setToken("token"), "configuration" => configuration::getInstance()->getConfiguration(), "javascript" => array("wysihtml5-0.3.0.min", "bootstrap3-wysihtml5", "global"), "css" => array("bootstrap-wysihtml5", "bootstrap3-wysiwyg5-color", "plugins/tree/themes/default/style.min")));
 }
Exemple #6
0
 public function __construct(contactsModel $model)
 {
     parent::__construct();
     $this->viewHelper->setGlobalAssign(array("token" => $this->controllerHelper->_setToken("token"), "javascript" => array("wysihtml5-0.3.0.min", "bootstrap3-wysihtml5", "global", "contacts"), "css" => array("bootstrap-wysihtml5", "bootstrap3-wysiwyg5-color")));
     $this->model = $model;
 }