VirtueMart - 1.1 Guia do Utilizador Página 38

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 44
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 37
Required Tags That
Have Variable Content
28
* @copyright 2004-2007 VirtueMart Developer Team
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version Release:
*/
class foo {
/** @var database Internal database class pointer */
var $_db=null;
/** @var object An object of configuration variables */
var $_config=null;
/** @var object An object of path variables */
var $_path=null;
/** @var mosSession The current session */
var $_session=null;
/** @var string The current template */
var $_template=null;
/** @var array An array to hold global user state within a session */
/**
* This function does something special.
* @since VirtueMart 1.0.1
* @param string The name of the product
* @param int The ID of the product
* @return string HTML Table with a "snapshot" of the product
*/
function myFunction( $arg1, &$arg2 ) {
}
}
?>
Required Tags That Have Variable Content
Short Descriptions
Short descriptions must be provided for all docblocks. They should be a quick sentence, not the name
of the item, but the description of the „what does this file / class?“.
@license
VirtueMart is released under the GNU/GPL license. You should keep this license for best
compatibility.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
@author
There's no hard rule to determine when a new code contributor should be added to the list of authors
for a given source file. In general, their changes should fall into the "substantial" category (meaning
somewhere around 10% to 20% of code changes). Exceptions could be made for rewriting functions
or contributing new logic.
Simple code reorganization or bug fixes would not justify the addition of a new individual to the list
of authors.
Optional Tags
@copyright
Vista de página 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 44

Comentários a estes Manuais

Sem comentários