Exemplo n.º 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")));
 }
Exemplo n.º 2
0
 public function __construct(parametersModel $model)
 {
     parent::__construct();
     $this->model = $model;
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->model = new dashboardModel();
 }
Exemplo n.º 4
0
 public function __construct(usersModel $model)
 {
     parent::__construct();
     $this->model = $model;
     $this->viewHelper->setGlobalAssign(array("token" => $this->controllerHelper->_setToken("token"), "configuration" => $config["users"]));
 }
Exemplo n.º 5
0
 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")));
 }
Exemplo n.º 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;
 }