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 ;-)
I replied too soon. I've never seen that switch before. Thanks very
much for that. The people on the lists never cease to amaze me with
their depth of knowledge.
Nevertheless, having a searchable index is faster than resorting to
grepping the entire tree.
Regards VIM, if you know how to use that to accomplish the same thing
I'd very much appreciate your help.
Best,
:m)