To add a Code Documentation Block - DocBlock for a class variable, ImpressCMS has the following standard template -

/**
* @var [type] description
*/

You can also put this all on one line, like so -

/** @var [type] description */

Here is an example from class/icmslibrarieshandler.php

/**
* @var array $_librariesArray array containing a list of all available third party libraries
*/
var $_librariesArray=array();

To see how to document other code elements, see Documenting Code Elements

Last modified on 2010/11/25 by Anonymous
Comments
The comments are owned by the poster. We aren't responsible for their content.