Thanks Thomas - that worked. I made a getOptions method in my  
ObjectAttributes template and then called....

Doctrine::getTable($this->options['model'])- 
 >getTemplate('ObjectAttributes')->getOptions();

Regards
Jonathan

On 18 Jun 2009, at 17:12, Thomas Rabaix wrote:

> Access this information with your class table :  
> Doctrine::getTable('yourModel')
>
> Look to the API to get more information from there.
>
> On Thu, Jun 18, 2009 at 5:57 PM, Jonathan Franks  
> <jonat...@ifranks.com> wrote:
>
> Hi y'all,
>
> I'm developing a plugin with a doctrine behavior. The behavior is
> configured in the schema.yml.
>
> I have made a routing class which needs access to this configuration.
>
> What's the best way to do this please?
>
> Should I use sfYaml or can I access it somehow through a doctrine  
> class?
>
> Regards
>
> Jonathan
>
>
>
>
>
> -- 
> Thomas Rabaix
> http://rabaix.net
>
> >


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