You can write a Propel behavior, that allows to add both static and
non-static methods.
Refer to Propel documentation

cheers
Massimiliano

On 21 Mag, 02:57, rekarnar <rekar...@gmail.com> wrote:
> Fromhttp://www.symfony-project.org/cookbook/1_2/en/behaviors:
>
> Unfortunately, as of PHP 5, static method calls cannot be caught by a
> __call(). This means that symfony behaviors are not able to add new
> methods to the Peer classes.
>
> So my question is, how should I go about adding common methods into my
> peer class's?
>
> --
> 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 
> athttp://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