Function _indent
Adds an indent to the beginning of every non-empty line in the string, for the purpose of indenting the text once to the right so it is easier to read when viewing source in a browser and debugging javascript.
After some deliberation, since the purpose is mainly for browser source viewing and debugging, the current implementation uses two spaces as an indent.
Located at
includes/base_controls/_utilities.inc.php
string |
$strText |
|
integer |
$intCount = 1 |
The number of indents to add |
string
|
string |