callback_toString (line
79)
Returns a string based on the callback provided.
string
callback_toString
(callback $callback)
-
callback
$callback: Callback to return as a string
Hand-made print_r() that provides a method list if $showMethods is set to true.
null
debugEcho
(mixed $mixed, [boolean $return = false], [boolean $showMethods = false], [mixed $prefix = false])
-
mixed
$mixed: Item to break down and display
-
boolean
$return: Whether or not to return the output from debugEcho()
-
boolean
$showMethods: Whether or not to show methods on objects
-
mixed
$prefix: Internal for handling recursion
Creates a one-way hash from the provided string. Setting $old to true will use the old algorithm for creating the hash.
string
encStr
(string $str, [boolean $old = false])
-
string
$str: String to hash
-
boolean
$old: Whether or not to use the old ZSF algorithm
Runs main process for N2 Framework Yverdon.
null
n2f_proc
()
Pulls a string from the system's string set, given the current system language.
string
S
(string $key, [ $replacements = null])
-
string
$key: Key to search strings definition for
-
array
$replacements: Optional array of arguments to replace in the defined string
str_replace_contained (line
348)
Finds and replaces text contained within the $start and $end tags with the $replace sequence. Use of the text between $start and $end is signified in the $replace string using the string '%TEXT%'.
string
str_replace_contained
(stringt $start, string $end, string $replace, string $text)
-
stringt
$start: Beginning tag surrounding text
-
string
$end: End tag surrounding text
-
string
$replace: String to replace tags and inner text with (reference inner text with %TEXT%)
-
string
$text: Subject string to perform search/replace within
str_replace_once (line
317)
Tries to find and replace the search string inside of the subject string once.
string
str_replace_once
(string $search, string $replace, string $subject)
-
string
$search: String to find inside of $subject string
-
string
$replace: String to replace first instance of $search string
-
string
$subject: String to perform actions upon