Hi Robert,
We are planning to remove any usage of PHPMixinModel. We should move to DLTK
indexing mechanism instead, once it's improved.
For now, only global variables, global constants and include statements are
indexed using PHPMixinModel.
If you need to find some model element, please use one of the following
utilities:

PHPModelUtils
PHPTypeInferenceUtils

Thanks,
Michael

On Fri, Jun 12, 2009 at 8:52 PM, Robert Gruendler <doo...@gmail.com> wrote:

> Hi all,
>
>
> i'm member of a sourceforge team which is working on an eclipse plugin for
> the symfony php framework.
>
> Currently i'm trying to dig into the pdt code to get some basic
> understanding of how the pdt php-model works.
>
> As far as i've understood, we can use the PHPMixinModel class to search for
> elements in the workspace PHP-Model.
>
> So let's say, there's a class "Foo" somewhere inside an pdt project, should
> we be able to retrieve an instance of
> IMixinElement when searching the model with the following code:
>
> PHPMixinModel.getWorkspaceInstance().getRawModel().get("Foo");
>
> This call would query the model cache and return all elements that match to
> the key "Foo", if i understood it right.
> For some reason however, i never get any elements back, no matter what i'm
> searching, also tried find() instead of get() btw.
> Do we need to add some PHP extension point to our plugin to make use of the
> MixinModel ?
>
>
> Any hints would be greatly appreciated, thanks !
>
>
> -robert
>
>
> ps: Is there any API documentation available somewhere for either PDT of
> DLTK ?
>
>
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>
_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to