Zend Studio和Drupal [英] Zend Studio and Drupal

查看:153
本文介绍了Zend Studio和Drupal的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Zend Studio进行Drupal模块开发。当然,我的模块代码没有明确地包含Drupal文件(因为显然它在Drupal引导环境下运行)。



我希望Zend识别并解决函数调用相应的Drupal文件。我尝试在Build Path> Link Source下添加Drupal源文件。然后我收到以下消息:



创建文件夹将导致冲突:无法在'myproject'内嵌入subsites / drupal-6.20。要启用嵌套排除'drupal-6.20 /'from'myproject'。



当然,如果我排除drupal-6.20文件夹失败的目的,我该怎么做? >

解决方案

右键单击项目>属性> PHP包含路径>库>添加外部源文件夹>选择安装drupal的文件夹


Hi I am trying out Zend Studio for Drupal module development. Of course, my module code does not explicitly include Drupal files (since obviously it runs under the Drupal bootstrap context.)

I want Zend to recognize this and resolve function calls to the appropriate Drupal files. I tried adding the Drupal source files under Build Path>Link Source. I then get this message:

"Creating the folder will result in a conflict: Cannot nest 'subsites/drupal-6.20' inside 'myproject'. To enable the nesting exclude 'drupal-6.20/' from 'myproject' .

Of course, if I exclude drupal-6.20 folder that defeats the purpose. How can I do this?

解决方案

right click project > properties > PHP Include Path > Libraries > Add External Source Folder > select the folder where drupal is installed

这篇关于Zend Studio和Drupal的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆