Alex Tech Adventures The webs best tutorials!

Favourites Create PDF Email Print

How to get Aptana (or another PHP IDE) to display ZF inteli-tips?

Author:
Alexander Romanenko
Date added:
Saturday, 22 August 2009
Last revised:
Sunday, 29 November 2009
Hits:
3605
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

As long as ZF library folder is somewhere underneath the project directory, IDE should pick it up. Remember, that it should be a proper PHP project since the IDE needs to perform full indexing of all the classes to provide the code assist. If you are using Aptana, also do not forget to install PHP development plugin.
If you do not want to have ZF a part of every project, then you can put it in IDE's include path. In Aptana this is done by:
  1. going to project properties --> PHP include path
  2. In libraries tab, click Add Library
  3. In new dialogue (User libraries) press Config
  4. In filtered preferences dialogue that comes up press new
  5. Give it a name and press OK
  6. With new library name selected, press Add external folder and navigate to ZF library folder (overall path should be like /usr/local/ZendFrameworkCli/library)
  7. Click OK for PHP Libraries
  8. New library should now be in list of User libraries dialogue. Put a checkbox next to library you just created
For NetBeans procedure is similar (although much shorter):
  1. Tools --> options
  2. PHP tab
  3. In Global Include Path choose Add Folder and pick the location of ZF library.

Category

Login Form

Next up

Error handling.

You are here: Home FAQ Zend Framework FAQ How to get Aptana (or another PHP IDE) to display ZF inteli-tips?

Statistics

Members : 1401
Content : 42
Web Links : 1
Content View Hits : 191201

Poll

Interested in TinyBrowser and TinyMce plugin for ZF?
 

Who's Online

We have 37 guests online