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 [20/02/2022 10:57] – cakephp 3 tree behavior on associated model 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 13: | Ligne 13: | ||
| * [[https:// | * [[https:// | ||
| - | Articles | + | ===== 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 ==== | ||
| + | |||
| + | Ajouter un tableau vide pour les migrations de l' | ||
| + | <code php> | ||
| + | $migrator-> | ||
| + | [], | ||
| + | [' | ||
| + | ]); | ||
| + | </ | ||
| + | |||
| + | [[https:// | ||
| + | ==== datatables ==== | ||
| * [[https:// | * [[https:// | ||
| - | * hierarchical data, tree structure | + | |
| + | ==== hierarchical data, tree structure | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * and his [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | |||
informatique/php/cakephp.1645351042.txt.gz · Dernière modification : de cyrille
