Différences
Ci-dessous, les différences entre deux révisions de la page.
| php-rt:tp3 [2019/05/23 10:53] – [3.4. Affichage des Utilisateurs par groupe] jcheron | php-rt:tp3 [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Module M2105 - RT web dyna - TD/P 3 ====== | ====== Module M2105 - RT web dyna - TD/P 3 ====== | ||
| + | |||
| + | Fichier bat à modifier/ | ||
| + | <sxh bash> | ||
| + | set PATH=%PATH%; | ||
| + | </ | ||
| < | < | ||
| Ligne 288: | Ligne 293: | ||
| namespace controllers; | namespace controllers; | ||
| use Ubiquity\orm\DAO; | use Ubiquity\orm\DAO; | ||
| + | use models\Organization; | ||
| /** | /** | ||
| Ligne 295: | Ligne 301: | ||
| public function index(){ | public function index(){ | ||
| - | $organizations=DAO:: | + | $organizations=DAO:: |
| $this-> | $this-> | ||
| } | } | ||
| Ligne 330: | Ligne 336: | ||
| namespace controllers; | namespace controllers; | ||
| use Ubiquity\orm\DAO; | use Ubiquity\orm\DAO; | ||
| + | use models\Organization; | ||
| /** | /** | ||
| Ligne 339: | Ligne 346: | ||
| public function display($idOrga){ | public function display($idOrga){ | ||
| - | $orga=DAO:: | + | $orga=DAO:: |
| $this-> | $this-> | ||
| } | } | ||
| Ligne 377: | Ligne 384: | ||
| public function display($idOrga){ | public function display($idOrga){ | ||
| - | $orga=DAO:: | + | $orga=DAO:: |
| $this-> | $this-> | ||
| } | } | ||
| Ligne 455: | Ligne 462: | ||
| public function display($idOrga, | public function display($idOrga, | ||
| - | $orga=DAO:: | + | $orga=DAO:: |
| $users=$this-> | $users=$this-> | ||
| $this-> | $this-> | ||