|
ultimix
|
Public Member Functions | |
| __construct () | |
| explode_into_words ($String, $MaxWordLength=80) | |
| remove_bom ($Str) | |
| common_prefix (&$Strings) | |
| trim_common_prefix (&$Strings, $CommonPrefix=false) | |
| detect_encoding ($Content) | |
| iconv ($InCharset, $OutCharset, $Data) | |
Data Fields | |
| $Tags = false | |
| $WINPatternL = '~([\270])|([\340-\347])|([\350-\357])|([\360-\367])|([\370-\377])~s' | |
| $WINPatternU = '~([\250])|([\300-\307])|([\310-\317])|([\320-\327])|([\330-\337])~s' | |
| $KOIPatternL = '~([\243])|([\300-\307])|([\310-\317])|([\320-\327])|([\330-\337])~s' | |
| $KOIPatternU = '~([\263])|([\340-\347])|([\350-\357])|([\360-\367])|([\370-\377])~s' | |
| $Patterns = array() | |
| __construct | ( | ) |
Constructor.
Definition at line 50 of file text.php.
| common_prefix | ( | & | $Strings | ) |
Function removes BOM .
| $Strings | - Strings to process. |
| Exception | An exception of this type is thrown. |
Definition at line 178 of file text.php.
| detect_encoding | ( | $Content | ) |
Function detects encoding.
| $Strings | - Strings to process. |
| Exception | An exception of this type is thrown. |
Definition at line 692 of file text.php.
| explode_into_words | ( | $String, | |
$MaxWordLength = 80 |
|||
| ) |
Function formats $String so the word's length won't be bigger than $MaxWordLength symbols.
| $String | - Processing string. |
| $MaxWordLength | - Maximum count of the letters in the word. |
| Exception | An exception of this type is thrown. |
Definition at line 88 of file text.php.
| iconv | ( | $InCharset, | |
| $OutCharset, | |||
| $Data | |||
| ) |
Function decodes string data.
| $InCharset | - The input charset. |
| $OutCharset | - The output charset. |
| $Data | - Data to decode. |
| Exception | An exception of this type is thrown. |
Definition at line 754 of file text.php.
| remove_bom | ( | $Str | ) |
Function removes BOM .
| $Str | - String to process. |
| Exception | An exception of this type is thrown. |
Definition at line 136 of file text.php.
| trim_common_prefix | ( | & | $Strings, |
$CommonPrefix = false |
|||
| ) |
Trimming common prefix.
| $Strings | - Strings to process. |
| CommonPrefix | - Trimming prefix. |
| Exception | An exception of this type is thrown. |
Definition at line 235 of file text.php.
| $KOIPatternL = '~([\243])|([\300-\307])|([\310-\317])|([\320-\327])|([\330-\337])~s' |
| $KOIPatternU = '~([\263])|([\340-\347])|([\350-\357])|([\360-\367])|([\370-\377])~s' |
| $WINPatternL = '~([\270])|([\340-\347])|([\350-\357])|([\360-\367])|([\370-\377])~s' |
| $WINPatternU = '~([\250])|([\300-\307])|([\310-\317])|([\320-\327])|([\330-\337])~s' |