Global

Methods

debug(p_strText, p_strType, p_oObject)

write text into console if debug mode ist enabled (DEBUG = true)

Parameters:
Name Type Description
p_strText string

Text

p_strType string

(optional) debug | info | warn | error

p_oObject object

(optional) inspect object

log(p_strText, p_strType, p_oObject)

write text into console

Parameters:
Name Type Description
p_strText string

Text

p_strType string

(optional) debug | info | warn | error

p_oObject object

(optional) inspect object

repeat(pattern, count) → {String}

repeats a pattern n times (where n equals to count)

Parameters:
Name Type Description
pattern String
count Integer
Returns:

result

Type
String
Example
<code>
    repeat("-", 10)
    <br>
    output:
        ----------
    </code>