Personne ne sait ?
Please :P

On 9 juin, 17:38, Arkan <florian.bertho...@gmail.com> wrote:
> Bonjour,
>
> J'ai un module genere avec propel-init-admin intitule associations. Ce
> model contient un champs status stocke en entier dans la table.
>
> Pour faire un truc plus "pro", jai dans le fichier app.yml
>
> all:
>   .array:
>     status_associations:
>       -1: "Association en attente de confirmation"
>       0: "En attente de regularisation"
>       1: "En regle"
>
> Dans le fichier  /lib/form/ AssociationsForm.class.php j'ai ajoute :
> class AssociationsForm extends BaseAssociationsForm
> {
>   public function configure()
>   {
>     $this->widgetSchema['status'] = new sfWidgetFormChoice(array
> ('choices' => AssociationsPeer::getAllStatus()));
>   }}
>
>  public function getAllStatus()
>   {
>     $s = sfConfig::get('app_status_associations');
>     return ($s);
>   }
>
> le probleme c'est que ca marche pas :(
> Et j'ai fais symfony cc.....
>
> Merci d'avance
>
> Et la fonction getAllStatus() est
--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe Groupe "Symfony-fr" 
de Google Groupes.
 Pour transmettre des messages à ce groupe, envoyez un e-mail à 
l'adresse symfony-fr@googlegroups.com
 Pour résilier votre abonnement à ce groupe, envoyez un e-mail à 
l'adresse symfony-fr+unsubscr...@googlegroups.com
 Pour afficher d'autres options, visitez ce groupe à l'adresse 
http://groups.google.com/group/symfony-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---

Répondre à