informatique:php:cakephp
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:php:cakephp [23/02/2022 18:02] – [hierarchical data, tree structure] cyrille | informatique:php:cakephp [11/06/2025 11:14] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. 141.94.194.132 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== CakePhp ====== | ====== CakePhp ====== | ||
| - | Si vous pouvez utiliser un autre framework, préférez [[/informatique/php/laravel|Laravel]]. Sinon, ben c'est la vie :-) | + | Si vous pouvez utiliser un autre framework, préférez [[informatique:php:laravel_1|Laravel]]. Sinon, ben c'est la vie :-) |
| * http:// | * http:// | ||
| Ligne 15: | Ligne 15: | ||
| ===== Tips ===== | ===== Tips ===== | ||
| + | |||
| + | ==== User info ==== | ||
| + | |||
| + | Récupérer l' | ||
| + | |||
| + | <code php> | ||
| + | $r = Router:: | ||
| + | if( $r ) | ||
| + | { | ||
| + | $i = / | ||
| + | if( $i ) | ||
| + | { | ||
| + | Log:: | ||
| + | $user = $i-> | ||
| + | } | ||
| + | else | ||
| + | { | ||
| + | Log:: | ||
| + | } | ||
| + | |||
| + | } | ||
| + | else | ||
| + | { | ||
| + | Log:: | ||
| + | } | ||
| + | |||
| + | </ | ||
| ==== PhpUnit Migrations ==== | ==== PhpUnit Migrations ==== | ||
informatique/php/cakephp.1645635746.txt.gz · Dernière modification : de cyrille
