Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| php-rt:projets:projet-2017:micro-framework [2017/04/05 02:39] – [2- Configuration] jcheron | php-rt:projets:projet-2017:micro-framework [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 115: | Ligne 115: | ||
| class ExempleController extends BaseController{ | class ExempleController extends BaseController{ | ||
| public function index(){ | public function index(){ | ||
| - | $users=DAO:: | + | $users=DAO:: |
| ... | ... | ||
| } | } | ||
| Ligne 142: | Ligne 142: | ||
| class ExempleController extends BaseController{ | class ExempleController extends BaseController{ | ||
| public function index(){ | public function index(){ | ||
| - | | + | |
| | | ||
| } | } | ||
| Ligne 156: | Ligne 156: | ||
| class ExempleController extends BaseController{ | class ExempleController extends BaseController{ | ||
| public function index(){ | public function index(){ | ||
| - | | + | |
| | | ||
| } | } | ||
| Ligne 214: | Ligne 214: | ||
| use micro\orm\DAO; | use micro\orm\DAO; | ||
| - | $host=DAO:: | + | $host=DAO:: |
| </ | </ | ||
| Ligne 238: | Ligne 238: | ||
| <sxh php; | <sxh php; | ||
| - | $ticket=DAO:: | + | $ticket=DAO:: |
| </ | </ | ||
| Ligne 248: | Ligne 248: | ||
| <sxh php; | <sxh php; | ||
| - | $hosts=DAO:: | + | $hosts=DAO:: |
| </ | </ | ||
| Ligne 256: | Ligne 256: | ||
| <sxh php; | <sxh php; | ||
| - | $hosts=DAO:: | + | $hosts=DAO:: |
| foreach($hosts as $host){ | foreach($hosts as $host){ | ||
| echo $host."< | echo $host."< | ||
| Ligne 267: | Ligne 267: | ||
| <sxh php; | <sxh php; | ||
| - | $hosts=DAO:: | + | $hosts=DAO:: |
| </ | </ | ||
| Ligne 275: | Ligne 275: | ||
| <sxh php; | <sxh php; | ||
| - | $hosts=DAO:: | + | $hosts=DAO:: |
| </ | </ | ||
| Ligne 283: | Ligne 283: | ||
| <sxh php; | <sxh php; | ||
| - | $hosts=DAO:: | + | $hosts=DAO:: |
| </ | </ | ||
| Ligne 294: | Ligne 294: | ||
| <sxh php; | <sxh php; | ||
| - | $user=new User(); | + | $user=new |
| $user-> | $user-> | ||
| $user-> | $user-> | ||
| Ligne 305: | Ligne 305: | ||
| <sxh php; | <sxh php; | ||
| - | $user=new User(); | + | $user=new |
| $user-> | $user-> | ||
| $user-> | $user-> | ||
| Ligne 321: | Ligne 321: | ||
| <sxh php; | <sxh php; | ||
| - | $user=DAO:: | + | $user=DAO:: |
| $user-> | $user-> | ||
| try{ | try{ | ||
| Ligne 336: | Ligne 336: | ||
| <sxh php; | <sxh php; | ||
| - | $user=DAO:: | + | $user=DAO:: |
| try{ | try{ | ||
| DAO:: | DAO:: | ||