phpDocumentor system
[ class tree: system ] [ index: system ] [ all elements ]

Source for file baliseAutoFermante.class.php

Documentation is available at baliseAutoFermante.class.php

  1. <?php
  2.  
  3.     /**
  4.      * Attribut d'une balise.
  5.      *
  6.      * @package system
  7.      * @author Alain Defrance
  8.      */
  9.     class wpmBaliseAutoFermante extends wpmBaliseAbstraite
  10.     {
  11.         /**
  12.          * Initialise la balise avec son nom
  13.          *
  14.          * @access public
  15.          * @param string $pBaliseName 
  16.          */
  17.         public function __construct($pBaliseName)
  18.         {
  19.             parent::__construct($pBaliseName);
  20.         }
  21.         
  22.         /**
  23.          * Retourne le code html de la balise.
  24.          *
  25.          * @access public
  26.          * @return string 
  27.          */
  28.         public function generer()
  29.         {
  30.             return wpmSystem::endl().wpmSystem::getIndent()."<{$this->getBaliseName()}{$this->genererAttributString()}/>".wpmSystem::endl();
  31.         }
  32.     };
  33.  
  34. ?>

Documentation generated on Fri, 04 Jul 2008 23:38:38 +0200 by phpDocumentor 1.4.0a2