oxUtilsString Class Reference
List of all members.
Detailed Description
String manipulation class
Member Function Documentation
static oxUtilsString.getInstance |
( |
|
) |
[static] |
Returns string manipulation utility instance
- Returns:
- oxUtilsString
oxUtilsString.prepareCSVField |
( |
$ |
sInField |
) |
|
Prepares passed string for CSV format
- Parameters:
-
| string | $sInField String to prepare |
- Returns:
- string
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
- Parameters:
-
| string | $sString input string |
| int | $iLength maximum length of result string , -1 -> no truncation |
- Returns:
- string a string of maximum length $iLength without multiple spaces and commas
oxUtilsString.prepareStrForSearch |
( |
$ |
sSearchStr |
) |
|
Prepares and returns string for search engines.
- Parameters:
-
| string | $sSearchStr String to prepare for search engines |
- Returns:
- string
Member Data Documentation
oxUtilsString.$_instance = null [static, private] |
The documentation for this class was generated from the following file: