Loading module/Application/view/application/application/index.phtml +5 −4 Changes for module/Application/view/application/application/index.phtml: 5 added lines, 4 removed lines. Original line number Diff line number Diff line <?php use Application\Entity\Db\Application; use Application\Provider\Privilege\ApplicationPrivileges; /** * @var Application[] $applications */ $canAfficher = true; $canAjouter = true; $canEditer = true; $canEffacer = true; $canAfficher = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::AFFICHER)); $canAjouter = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::AJOUTER)); $canEditer = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::EDITER)); $canEffacer = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::EFFACER)); $this->headTitle("Index des applications"); ?> Loading Loading
module/Application/view/application/application/index.phtml +5 −4 Changes for module/Application/view/application/application/index.phtml: 5 added lines, 4 removed lines. Original line number Diff line number Diff line <?php use Application\Entity\Db\Application; use Application\Provider\Privilege\ApplicationPrivileges; /** * @var Application[] $applications */ $canAfficher = true; $canAjouter = true; $canEditer = true; $canEffacer = true; $canAfficher = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::AFFICHER)); $canAjouter = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::AJOUTER)); $canEditer = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::EDITER)); $canEffacer = $this->isAllowed(ApplicationPrivileges::getResourceId(ApplicationPrivileges::EFFACER)); $this->headTitle("Index des applications"); ?> Loading