Indentor Class ReferenceIndentor is (x)html page source code indenting engine.
List of all members.
Public Member Functions
| ||You should call this method if you are about to nest. |
- Return string containing indentation for current level of nest.
| ||Put indentation string direct to document. |
| ||You should call this method if you are about to leave nested block. |
- Return current level of nest.
| ||puts ($szText)|
| ||Put indented given string direct to document. |
Static Public Member Functions
static ||singleton ()|
- Return pointer to singleton object.
|const ||INDENT_STRING = " "|
| ||Set this constant to any indentation string you like to use. |
Indentor is (x)html page source code indenting engine.
This is useful for reading the page source code by people. Browsers do not need this ;-) Design patter singleton.
- Copy-pasted from project IIS T-Shop
Definition at line 367 of file base.php.
Member Function Documentation
Put indented given string direct to document.
|szText ||String tu put (indented) to the document. |
Definition at line 413 of file base.php.
Member Data Documentation
Set this constant to any indentation string you like to use.
Recomended values are a piece of spaces or an tabulator ("\t")
Definition at line 384 of file base.php.
The documentation for this class was generated from the following file:
Generated on Sat Mar 8 10:26:44 2008 for Dudka.cz by