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"))); }
public function __construct(parametersModel $model) { parent::__construct(); $this->model = $model; }
public function __construct() { parent::__construct(); $this->model = new dashboardModel(); }
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"))); }
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; }