# |
Aug 19th 2008, 06:56 |
kazhar |
et fait un set dans le $this->data |
# |
Aug 19th 2008, 06:56 |
kazhar |
qui traite ton old_role_id |
# |
Aug 19th 2008, 06:56 |
kazhar |
et tu fait un beforeCreate |
# |
Aug 19th 2008, 06:55 |
kazhar |
tu mets tout dans le même modèle |
# |
Aug 19th 2008, 06:55 |
kazhar |
ben sinon |
# |
Aug 19th 2008, 06:55 |
DrewProd |
ACTION se trompe peut-être |
# |
Aug 19th 2008, 06:55 |
DrewProd |
un SELECT et un UPDATE ? |
# |
Aug 19th 2008, 06:55 |
DrewProd |
truc bête, mais tu peut pas faire 2 appel ? 1 pour le hidden et l'autre pour les modif ? |
# |
Aug 19th 2008, 06:53 |
foxmask |
quoi* |
# |
Aug 19th 2008, 06:53 |
foxmask |
c'est franchement nimporte qui |
# |
Aug 19th 2008, 06:53 |
foxmask |
) |
# |
Aug 19th 2008, 06:53 |
foxmask |
[old_role_id] => 1 |
# |
Aug 19th 2008, 06:53 |
foxmask |
( |
# |
Aug 19th 2008, 06:53 |
foxmask |
[XXX] => Array |
# |
Aug 19th 2008, 06:53 |
foxmask |
) |
# |
Aug 19th 2008, 06:53 |
foxmask |
[role_id] => 6 |
# |
Aug 19th 2008, 06:53 |
foxmask |
[team_id] => 2 |
# |
Aug 19th 2008, 06:53 |
foxmask |
[user_id] => 3 |
# |
Aug 19th 2008, 06:53 |
foxmask |
( |
# |
Aug 19th 2008, 06:53 |
foxmask |
[DfTeamMembre] => Array |
# |
Aug 19th 2008, 06:52 |
DrewProd |
p |
# |
Aug 19th 2008, 06:52 |
foxmask |
ce workaround de ouf ... |
# |
Aug 19th 2008, 06:52 |
kazhar |
idem |
# |
Aug 19th 2008, 06:52 |
DrewProd |
mon gateau préférer :) |
# |
Aug 19th 2008, 06:51 |
kazhar |
c'est une grosse part. Et il y en a encore plein |
# |
Aug 19th 2008, 06:51 |
foxmask |
pour la manger en 10min |
# |
Aug 19th 2008, 06:51 |
DrewProd |
kazhar :) |
# |
Aug 19th 2008, 06:51 |
foxmask |
ca doit etre une grosse part |
# |
Aug 19th 2008, 06:51 |
kazhar |
j're d'ici 10 minutes. Y'a une part de tiramisu qui m'appelle |
# |
Aug 19th 2008, 06:50 |
kazhar |
donc tu a ton hidden séparé du reste et tu peut le traiter |
# |
Aug 19th 2008, 06:50 |
kazhar |
); |
# |
Aug 19th 2008, 06:50 |
kazhar |
'SecondModel' => array('Champ' => 'valeur'), |
# |
Aug 19th 2008, 06:50 |
kazhar |
'Model' => array('Champ' => 'valeur'), |
# |
Aug 19th 2008, 06:50 |
kazhar |
et tu aura $this->data = array( |
# |
Aug 19th 2008, 06:50 |
kazhar |
et $this->hidden('SecondModel.Champ'); |
# |
Aug 19th 2008, 06:49 |
kazhar |
gerne $this->text('Modele.Champ'); |
# |
Aug 19th 2008, 06:49 |
kazhar |
bah tu le nomme avec un autre modèle |
# |
Aug 19th 2008, 06:49 |
foxmask |
(dans la methode de mon controller) |
# |
Aug 19th 2008, 06:49 |
kazhar |
oh |
# |
Aug 19th 2008, 06:49 |
foxmask |
qui apparait pas dans le array this->data |
# |
Aug 19th 2008, 06:49 |
foxmask |
c un champ hidden moi |