I have got a solution for it. We can do it by adding model directory 
path in /app/config/autoload.yml and creating symbolic link(copy not 
require) of that directory in  lib/model

autoload:
  CLASS DESC
    name:            CLASS DESC
    ext:             .php
    path:            MODEL DIRECTORY PATH
    recursive:       on


Nathanael D. Noblet wrote:
> JJ wrote:
>   
>> Hello friends,
>> Is there anyway other way to * access models from another project* .
>>
>>     
>
> *Just* models, two ways come to mind, neither that great, but should work.
>
> 1) Add the directory path to models to the symfony autoloader
> 2) Copy the model files into lib/
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to