Definition at line 6 of file oxutilsstring.php.
Public Member Functions | |
prepareCSVField ($sInField) | |
minimizeTruncateString ($sString, $iLength) | |
prepareStrForSearch ($sSearchStr) | |
Static Public Member Functions | |
static | getInstance () |
Static Private Attributes | |
static | $_instance = null |
static oxUtilsString.getInstance | ( | ) | [static] |
Returns string manipulation utility instance
Definition at line 20 of file oxutilsstring.php.
oxUtilsString.prepareCSVField | ( | $ | sInField | ) |
Prepares passed string for CSV format
string | $sInField String to prepare |
Definition at line 48 of file oxutilsstring.php.
oxUtilsString.minimizeTruncateString | ( | $ | sString, | |
$ | iLength | |||
) |
shortens a string to a size $iLenght, whereby "," and multiple spaces are removed "," is rerplaced with " " and leading and ending whitespaces are removed
string | $sString input string | |
int | $iLength maximum length of result string , -1 -> no truncation |
Definition at line 68 of file oxutilsstring.php.
oxUtilsString.prepareStrForSearch | ( | $ | sSearchStr | ) |
Prepares and returns string for search engines.
string | $sSearchStr String to prepare for search engines |
Definition at line 89 of file oxutilsstring.php.
oxUtilsString.$_instance = null [static, private] |
Definition at line 13 of file oxutilsstring.php.