Timwi wrote:
Ashar Voultoiz wrote:
/**#@+
! /**#@- */
What do these mean?
Hello,
That's for Phpdocumentor.
It define a template that will be applied to each element until it reach
/**#@- */
Example from the documentation:
1 class Bob
2 {
3 // beginning of docblock template area
4 /**#@+
5 * @access private
6 */
7 var $_var1 = 'hello';
8 var $_var2 = 'my';
9 var $_var3 = 'name';
10 /**#@-*/
11 var $publicvar = 'Lookee me!';
12 }
$_var1, $_var2, $_var3 will be flagged with "@access private" but
$publicvar will not (it's outside of template).
It's make code comments harder to read but allow for some great
documentation to be generated.
--
Ashar Voultoiz