require_once the file and instantiate the Message class... oh man, symfony is 
not there for you to completely forget either PHP or plain OOP :)

Daniel

On 02.03.2010, at 01:00, Samuel Morhaim wrote:

> Sorry for the dumb question, but now that I moved it to lib/Message.class.php 
> ... how do I call it from there from within a separate Class?  I manage to 
> call it from within the actions..
> 
> but now i am in this external class, and i need to call that method ?
> 
> 
> On Mon, Mar 1, 2010 at 5:57 PM, Daniel Lohse <annismcken...@googlemail.com> 
> wrote:
> Move it out to the model or into the outside class and also call it from the 
> action. :)
> 
> Daniel
> 
> On 01.03.2010, at 23:43, Samuel Morhaim wrote:
> 
>> Is there a way to call an action, from an outside Class?
>> 
>> I am handling the processing of one of my routines with an outside class..  
>> I need to call the exact same code being called in one of my actions.. how 
>> can i do this?
>> 
>> or should i move the code somewhere else?
>> 
>> thanks.
>> 
>> 
>> -- 
>> 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
> 
> 
> -- 
> 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
> 
> 
> -- 
> 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

-- 
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

Reply via email to