Hey David,

a better starting point to look at would probably be the module
generators (there's one in propel). This generates more of a solid
scaffolding, not something tied to a generator.yml,
but it should give you an idea of what you're looking for.

Daniel



On Apr 2, 8:14 am, David <dmdel...@gmail.com> wrote:
> I have a bunch of very similar actions with very similar support files
> (classes, templates, etc.). I'd like to use a generator to cut down on
> my copy-and-pasting every time I need a new one: I'd fill out the
> unique parts of the action in generator.yml (or similar), and Symfony
> would generate the action, associated classes and templates for me.
>
> I am familiar with and use the admin generators a lot, and they're
> great. But what I need in this case is really nothing like CRUD - it
> would be a completely custom generator.
>
> I've been looking through sfGenerator, etc. to see how this would
> work, but I don't quite understand it, and I haven't been able to find
> any documentation that isn't specific to the admin generator. Any
> pointers to get me started? e.g. which classes to extend, which
> methods to implement? Maybe a brief description of the execution path
> Symfony takes once it finds a generator.yml file?
>
> David

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to