Not recognizing libraries.

I am using Kohana 2.x and for some reason none of the libraries are being indexed or something. Below is an example. Some reason none of the libraries are being linked together. Even inside the system classes I am getting undefined for various things. I have tried multiple ways creating a project. It does this on both of my machines. Thanks.

notdefined.GIF

3 comments

As far as I see these classes have _Core suffix in their definition. IDE recogenises classes by full name. Probably framework uses some kind of __autoload() tricks - and this is not yet supported by PhpStorm.

0

Kohana 2.x has a kind of autoloading that takes a method such as this:

HTML::method();

Then converts that to HTML_Core::method(); before calling it.

http://learn.kohanaphp.com/2008/07/25/kohana-subversion-and-the-eclipse-ide/

This IDE helper will be extremely useful when using Kohana 2.x.

0

Please sign in to leave a comment.