Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

__construct(
string|array $options
=
null
)
:
void
Constructor Supported options are 'match' => matching pattern 'replace' => replace with this
Name | Type | Description |
---|---|---|
$options | string|array |

_determineUnicodeSupport(
)
:
bool
Method to cache the regex needed to determine if unicode support is available
Type | Description |
---|---|
bool |

filter(
string $value
)
:
string
Perform regexp replacement as filter
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
string |

isUnicodeSupportEnabled(
)
:
bool
Is Unicode Support Enabled Utility function
Type | Description |
---|---|
bool |

setMatchPattern(
mixed $match
)
:
\Zend_Filter_PregReplace
Set the match pattern for the regex being called within filter()
Name | Type | Description |
---|---|---|
$match | mixed |
|
Type | Description |
---|---|
\Zend_Filter_PregReplace |

setReplacement(
mixed $replacement
)
:
\Zend_Filter_PregReplace
Set the Replacement pattern/string for the preg_replace called in filter
Name | Type | Description |
---|---|---|
$replacement | mixed |
|
Type | Description |
---|---|
\Zend_Filter_PregReplace |