Historically you had to manually 'require' the myActions class to make this work. For instance, sfGuardAuthActions follows that pattern, but needs this line:
require_once(dirname(__FILE__).'/../lib/BasesfGuardAuthActions.class.php'); Has autoloading improved to cover this situation? On Thu, Oct 29, 2009 at 3:43 AM, Alexandre SALOME <[email protected]> wrote: > You can write in your actions.class.php : > > class myModelActions extends myActions > { > // YOUR STUFF (or empty) > } > > And in your plugin/.../lib folder , a myActions.class.php file : > > class myActions extends sfActions > { > public function execute...() > { > // ... > > Is it what you want ? > > 2009/10/28 Sid Ferreira <[email protected]> >> >> Well, I dunno how to explain this, but, I think 'ghost' is a good name. >> I would like to know if there's any task/task option or class to generate >> modules like CRUD modules, wich extends an action that is in the LIB >> folder... >> Well, dunno if I made my self clear, so, this is another shot: >> Im building up a plugin and one thing is to generate an empty-shell >> module. I want all the skeleton (action/components, all folders, and stuff) >> but with action excenting a file in the lib. >> I would like to not need to do it my self :D >> >> -- >> Sidney G B Ferreira >> Desenvolvedor Web >> >> >> > > > > -- > Alexandre Salomé -- [email protected] > > > > -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
