till wrote:
On Tue, May 19, 2009 at 7:41 PM, Mike Wright <[email protected]> wrote:
Tim Fountain wrote:
On 19/05/2009, Mike Wright <[email protected]> wrote:
Sudheer Satyanarayana wrote:

http://framework.zend.com/docs/api

Is that what you are looking for

Thanks for the reply.

I have the API.  What I would like is to be able to locate a method
somewhere within it when I don't know which package contains it.

This is where IDEs come into their own. In Eclipse PDT, just right click
on
the method in your code, select 'open declaration', and it will find the
file that defines that method, open it, and jump you straight to the
source.
Perhaps there is an equivalent in your editor/IDE of choice.
Unfortunately, vi doesn't know anything about that ;D

Hmm, I *think* VIM does.

I ended up writing a php script to list each *.php file in the library with
all of the functions that each contains.

grep -r 'function' *.php ;-)

Thanks for the reply.

That solution only works if all of the library files are in the same directory, which they are not.

Reply via email to