Public Member Functions | |
enter () | |
You should call this method if you are about to nest. | |
indent () | |
| |
indentDirect () | |
Put indentation string direct to document. | |
leave () | |
You should call this method if you are about to leave nested block. | |
level () | |
| |
puts ($szText) | |
Put indented given string direct to document. | |
Static Public Member Functions | |
static | singleton () |
| |
Public Attributes | |
const | INDENT_STRING = " " |
Set this constant to any indentation string you like to use. |
This is useful for reading the page source code by people. Browsers do not need this ;-) Design patter singleton.
Definition at line 367 of file base.php.
Indentor::puts | ( | $ | szText | ) |
const Indentor::INDENT_STRING = " " |