oui
AppModel::addBehavior('adminIndexHTML',
array('articlesBehavior','getValidateArticles'));On 29 mar, 20:12, "Mehdi AMINI" <[EMAIL PROTECTED]> wrote: > le addBehavior() tu l'appelles bien comme ça : AppModel::addBehaviors(...); > De la même manière que tu appelles après AppModel::callBehavior() ? > > Mehdi > > 2008/3/29, foxmask <[EMAIL PROTECTED]>: > > > > > si si : > > > add behavior : adminIndexHTML funtion : Array > > la fonction est appelable > > Array > > ( > > [adminIndexHTML] => Array > > ( > > [0] => Array > > ( > > [0] => articlesBehavior > > [1] => getValidateArticles > > ) > > > ) > > > ) > > > On 29 mar, 19:42, "Mehdi AMINI" <[EMAIL PROTECTED]> wrote: > > > > affiche "j'appelle le behavior adminIndexHTML" puis mon array .... > > > > vide ... :( > > > > normal s'il ne t'a pas affiché "add behavior : adminIndexHTML" avant ;-) > > > L'appel a addBehavior est bien effectué ? > > > > Mehdi --~--~---------~--~----~------------~-------~--~----~ Groupe "Cakephp-fr". Adresse : [email protected] Pour résilier : [EMAIL PROTECTED] Pour les options : http://groups.google.com/group/cakephp-fr?hl=fr -~----------~----~----~----~------~----~------~--~---
