PHP5 / Zend: mouse click, then jump into related source codes
Posted on 2011-02-24
it is about developing php5/Zend project under Netbeans.
i usually click on the code by using right mouse "Navigate->Go to Declaration" to see the related source codes. It works fine when i do this in .php file.
the problem i met is: "Navigate->Go to Declaration" doesn't work in .phtml file. For instance, i have code in .phtml file like:
as i use "Navigate->Go to Declaration" on these codes, nothing happened.
Are there any way to find out the Declaration of the codes in .phtml file? (in this case, i would find out what $this, cycle(), next() related to. I know that one can get it out by using debugger, but is it possible by using mouse click with "Navigate->Go to Declaration" ?)