Thursday 15 December 2011

How to generate Module in symfony?

$ php symfony doctrine:generate-module frontend organizer EventOrganizer

this will generate template with tr td format.

OR

$ php symfony doctrine:generate-module  --with-show --non-verbose-templates frontend organizer EventOrganizer

this will generate template with echo $form format.




here organizer is a module name and EventOrganizer is table name defined in schema.yml


Cheers!

No comments:

Post a Comment