NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Some more entries in a docblock


Joined: 27 Mar 2009
Posts: 11
Reply with quote
If I have:

class whatever {
function foo($arg1, $arg2) {

}
}

and type /** above the function, I will get a docblock like

/**
* put your comment there...
*
* @param mixed $arg1
* @param mixed $arg2
*/

Would it be possibile to modify the default value of this in a setting?
So it can also set @author, @since, @return data?

Variables would be great, which should result in something like:

/**
* |
*
* @author My Name (can be defined hardcoded somewhere)
* @since {date} (where date will be filled)
* (params} (automatically filled, like it does already)
* @return (the return value should be filled manually when the docblock is added)
*/
View user's profileFind all posts by SWINXSend private message
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
+1
View user's profileFind all posts by simshaunSend private message


Joined: 14 Aug 2009
Posts: 35
Reply with quote
+1
View user's profileFind all posts by cr0wn3rSend private message


Joined: 19 Oct 2007
Posts: 6
Reply with quote
+1
View user's profileFind all posts by alphabitSend private message


Joined: 13 Mar 2010
Posts: 5
Reply with quote
+1
View user's profileFind all posts by pippinSend private message
Some more entries in a docblock
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic