Definition at line 33 of file StringToUpper.php.
◆ __construct()
__construct |
( |
|
$options = null | ) |
|
Constructor
- Parameters
-
string | array | $options | OPTIONAL |
Definition at line 47 of file StringToUpper.php.
55 $temp[
'encoding'] = array_shift(
$options);
61 $options[
'encoding'] = mb_internal_encoding();
64 if (array_key_exists(
'encoding',
$options)) {
setEncoding($encoding=null)
◆ filter()
◆ getEncoding()
◆ setEncoding()
setEncoding |
( |
|
$encoding = null | ) |
|
Set the input encoding for the given string
- Parameters
-
- Returns
- Zend_Filter_StringToUpper Provides a fluent interface
- Exceptions
-
Definition at line 86 of file StringToUpper.php.
88 if ($encoding !==
null) {
90 #require_once 'Zend/Filter/Exception.php'; 94 $encoding = (string) $encoding;
95 if (!in_array(strtolower($encoding), array_map(
'strtolower', mb_list_encodings()))) {
96 #require_once 'Zend/Filter/Exception.php'; 101 $this->_encoding = $encoding;
◆ $_encoding
The documentation for this class was generated from the following file: