Right click on function name in the outline and you should have an option to
add doc block.
It should also appear automatically when you type /** and press enter above
the function.

ps. wrong mailing list

Karol



Lior Messinger wrote:
> 
> Hi
> 
> I'm looking for a macro that could take a PHP function declaration and
> produce a header like this:
> 
> /**
>      * Render a given view script
>      *
>      * Similar to [EMAIL PROTECTED] render()}, this method renders a view 
> script.
> Unlike render(),
>      * however, it does not autodetermine the view script via [EMAIL 
> PROTECTED]
> getViewScript()},
>      * but instead renders the script passed to it. Use this if you know
> the
>      * exact view script name and path you wish to use, or if using paths
> that do not
>      * conform to the spec defined with getViewScript().
>      *
>      * @param  string $script
>      * @param  string $name
>      * @return void
>      */
>     public function renderScript($script, $name = null)...
>     
> When I used to use Visual Studio, there was a macro to do that. I'm using
> Eclipse now. 
> any suggestions?
> 
> 
> thanks very much for _any idea_,
> Lior
> PS: this header is in a particular format. is it used by any software to
> produce documentation?
> 

-- 
View this message in context: 
http://www.nabble.com/Documentation-macro-for-PHP-or-Eclipse--tp18326010p18327312.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to