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
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/
--~--~-~--~
Hello friends,
Is there anyway other way to * access models from another project* .
-- JJ
On 6/13/07, Janak Jadeja <[EMAIL PROTECTED]> wrote:
>
> Yes,that way we can access models but I have two projects and I do not
> want to combine them.
>
> -Janak
>
> Scott Meves wrote:
>
> My suggestion wou
Yes,that way we can access models but I have two projects and I do not
want to combine them.
-Janak
Scott Meves wrote:
> My suggestion would be to combine project_1 and project_2 into the
> same project. Then, use different applications within the project that
> refer to project_1 and project_
My suggestion would be to combine project_1 and project_2 into the
same project. Then, use different applications within the project
that refer to project_1 and project_2. This approach will surely save
you headaches down the line, even if you were able to get access to
another project's mo