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 [21/02/2022 12:57] – cyrille | informatique:php:cakephp [03/03/2022 08:45] (Version actuelle) – [Tips] cyrille | ||
---|---|---|---|
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 ==== | ||
Ligne 25: | Ligne 52: | ||
</ | </ | ||
+ | [[https:// | ||
==== datatables ==== | ==== datatables ==== | ||
Ligne 33: | Ligne 61: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * and his [[https:// | ||
* [[https:// | * [[https:// | ||
informatique/php/cakephp.txt · Dernière modification : 03/03/2022 08:45 de cyrille