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

Source for file system.class.php

Documentation is available at system.class.php

  1. <?php
  2.  
  3.     /**
  4.      * Attribut d'une balise.
  5.      *
  6.      * @package system
  7.      * @author Alain Defrance
  8.      */
  9.     class wpmSystem
  10.     {
  11.         static private $currentNum = 1;
  12.         
  13.         static private $nbIdent = 0;
  14.         
  15.         static public function getIndent()
  16.         {
  17.             for($i 0$i self::$nbIdent$i++)
  18.             {
  19.                 $toReturn .= "\t";
  20.             }
  21.             
  22.             return $toReturn;
  23.         }
  24.         
  25.         static public function identUp()
  26.         {
  27.             self::$nbIdent++;
  28.         }
  29.         
  30.         static public function identDown()
  31.         {
  32.             self::$nbIdent--;
  33.         }
  34.         
  35.         static public function endl()
  36.         {
  37.             return "\r\n";
  38.         }
  39.         
  40.         static public function pickNum()
  41.         {
  42.             return self::$currentNum++;
  43.         }
  44.     };
  45.  
  46. ?>

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