I think sfCalendarEvent makes a lot of sense. It suggests an event within a calendar (suggesting properties such as date, time, duration), as opposed to a framework event.
Daniel On Nov 10, 5:45 am, Nicolas Perriault <nperria...@gmail.com> wrote: > On Tue, Nov 10, 2009 at 11:58 AM, juro <fo...@juro.at> wrote: > > Is it possible to use an admin-generated module for the plugin? > > Sure, you have to follow these simple steps (let's imagine you have a > myPlugin plugin): > > 1. create a module in your plugin, for example by using the excellent > Kris Wallsmith's sfTaskExtraPlugin (let's imagine you create a > myModule module) > 2. in the myPlugin/Config folder, create a routing.yml file adding a > sfDoctrineRouteCollection to manage your model routes > 3. in the created plugin module, create a config/ folder with a > generator.yml file describing your admin module (it will use the > routes you described in the previous step) > 4. in the lib/BaseMyModuleActions.class.php file of the module, make > the myModuleActions extends autoMyModuleActions > 5. in the lib/ folder of the module, create two files for the > configuration and the helper classes needed by the admin generator: > 5.1. the file MyModuleGeneratorConfiguration.class.php will contain: > class MyModuleGeneratorConfiguration extends > BaseMyModuleGeneratorConfiguration > { > } > 5.2. the file MyModuleGeneratorHelper.class.php will contain: > class MyModuleGeneratorHelper extends BaseMyModuleGeneratorHelper > { > } > > That's it. > > Maybe there would a place for a generate:plugin-init-admin task in Kris' > plugin. > > Kris? :-) > > ++ > > -- > Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net > Mobile: +33 660 92 08 67 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---