0

I have to manage with PhpStorm 2017.1 a large PHP project built on top of ADOdb library. Unfortunately the IDE does not provide any support for this library: for every method I use, I get a "Method not found" warning (and obviously there's no parameter hint, ça va sans dire).

I see there's an OLD thread (~2011) about this, and after that nothing more, maybe ADOdb is kinda Area51 secret none can talk about. Or maybe it's just an old tech none is interested in.

By the way: is there any way (a plugin, a command, a something) that can make my PhpStorm able to understsand ADOdb?

4

2 回答 2

1

由于 ADOdb 类的实例化方式,PHPstorm 可能无法识别库中的许多命令。ADOdb 的设计相当古老,但绝不是代码秘密,或者被遗弃。您将在ADOdb 项目站点上找到它的完整文档

于 2017-04-21T14:52:40.207 回答
0

ADOdb 是一个纯 PHP 库(与二进制扩展相反),因此如果您在项目的子目录中有 ADOdb PHP 文件,它应该“正常工作”,因为 PHPStorm 将解析这些 PHP 文件,就好像它们是您自己的文件一样,并因此导出有关其中包含的函数和类的信息 - 就像任何其他 PHP 库一样。

于 2017-04-15T08:49:31.687 回答