Answer the question
In order to leave comments, you need to log in
How to use umiTemplaterPHP when developing a php template?
How to use commented lines with umiTemplaterPHP?
<?php /** @var umiTemplaterPHP $this */ ?>
<?php /** @var array $variables */ ?>
Answer the question
In order to leave comments, you need to log in
This has nothing to do with umiTemplaterPHP , this is the PHPDoc documentation standard , many IDEs support it by default or with a plugin. Look for information about support for this standard in your IDE.
To document an array at the current time, the standard gives the following example :
/**
* Initializes this class with the given options.
*
* @param array $options {
* @var bool $required Whether this element is required
* @var string $label The display name for this element
* }
*/
/**
* @return array {
* @var bool $required Whether this element is required
* @var string $label The display name for this element
* }
*/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question