Log message #130772

# At Username Text
# Aug 16th 2008, 13:50 foxmask http://dafunspirit.net/
# Aug 16th 2008, 13:50 foxmask sauf s'il joue en reseau avec une equipe ;)
# Aug 16th 2008, 13:49 foxmask heu pas celui là ;)
# Aug 16th 2008, 13:48 francky06l C'est bien tu pourra le proposer a Avairet ;)
# Aug 16th 2008, 13:47 foxmask là mon cms pour le vice assez loin :)
# Aug 16th 2008, 13:47 foxmask je men servais jusqu'a present mais avec une unique condition
# Aug 16th 2008, 13:47 foxmask nan nana ;)
# Aug 16th 2008, 13:45 francky06l Je crois que je suis vraiment une bille en pedaguogie:-)
# Aug 16th 2008, 13:45 francky06l note que c'est une variable de class du controller ..mais elle concerne le model "Payment" ..en gros tu peux avoir des paginate pour d'autre models dans le meme controller (cest un array)...
# Aug 16th 2008, 13:44 foxmask impec ;)
# Aug 16th 2008, 13:44 foxmask ok
# Aug 16th 2008, 13:43 francky06l ensuite (dans cet exemple) je passe 'Payment' en premier parametre a $this->paginate
# Aug 16th 2008, 13:43 francky06l var $paginate = array('Payment' => array('limit' => 15, 'order' => array('Payment.operation_date' => 'desc')));
# Aug 16th 2008, 13:41 foxmask encore un array('limit'=>, 'order'=>) ?
# Aug 16th 2008, 13:40 francky06l attend je te donne ca:-)
# Aug 16th 2008, 13:39 francky06l fsi on peut:-)
# Aug 16th 2008, 13:39 foxmask l'option limit semble etre initié que quand l'action vient de la vue
# Aug 16th 2008, 13:38 foxmask francky06l: on peut pas faire de order by ni limit avec paginate par contre
# Aug 16th 2008, 13:31 francky06l pas de koi ;-)
# Aug 16th 2008, 13:31 foxmask merci
# Aug 16th 2008, 13:31 foxmask ah j'y etais ps du tout ;)
# Aug 16th 2008, 13:30 francky06l foxmask: enfin .. array('or' => array(array('status' => 1, 'foo' => bar), 'status' => 2)
# Aug 16th 2008, 13:30 foxmask array('foo'=>'bar','status'=>1,array('or'=>array('status'=>2)) ?
# Aug 16th 2008, 13:29 francky06l foxmask: oui avec un 'and' dans le premier:-)
# Aug 16th 2008, 13:29 foxmask nan je pense que ya 2 array qui se cascade on ?
# Aug 16th 2008, 13:28 francky06l foxmask: tu veux que je l'ecrive ?
# Aug 16th 2008, 13:27 francky06l array('or' => ..etc ..)
# Aug 16th 2008, 13:26 foxmask ca c un where field=value ; ca ok c simple ;)
# Aug 16th 2008, 13:26 francky06l $this->paginate('model', array('field' => value))
# Aug 16th 2008, 13:26 foxmask avec le find jai pu
# Aug 16th 2008, 13:26 foxmask là ché pas comment faire
# Aug 16th 2008, 13:26 foxmask jai une condtion (foo=bar and status=1) OR status=2 par exemple
# Aug 16th 2008, 13:25 foxmask ben
# Aug 16th 2008, 13:24 francky06l an passane un array en 2iem parametres de paginate
# Aug 16th 2008, 13:24 francky06l si tu peux
# Aug 16th 2008, 13:24 foxmask ou alors il faut pas nomme le array condition
# Aug 16th 2008, 13:23 foxmask on peut pas il semblerait ; utiliser des array pour conditions etc...
# Aug 16th 2008, 13:23 foxmask mais il apparait que non
# Aug 16th 2008, 13:23 foxmask francky06l: il me semblait qu'on pouvait utiliser paginate comme find
# Aug 16th 2008, 07:12 francky06l Moi j'ai resolu ce probleme, tout en querty .. au boulot deja c'est obligatoire ...et comme je fais pratiquement que de la programmation .... Le clavier US est plus pratique .. (je suis null en word)
# Aug 16th 2008, 07:11 foxmask +heure