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.
mixed $_matchPattern = 'null'
Pattern to match
mixed $_replacement = ''
Replacement pattern
bool $_unicodeSupportEnabled = 'null'
Is unicode enabled?
__construct(
string|array $options
=
null
)
:
void
Constructor Supported options are 'match' => matching pattern 'replace' => replace with this
_determineUnicodeSupport(
)
:
bool
Method to cache the regex needed to determine if unicode support is available
filter(
string $value
)
:
string
Perform regexp replacement as filter
getMatchPattern(
)
:
string
Get currently set match pattern
getReplacement(
)
:
string
Get currently set replacement value
isUnicodeSupportEnabled(
)
:
bool
Is Unicode Support Enabled Utility function
setMatchPattern(
mixed $match
)
:
Zend_Filter_PregReplace
Set the match pattern for the regex being called within filter()
setReplacement(
mixed $replacement
)
:
Zend_Filter_PregReplace
Set the Replacement pattern/string for the preg_replace called in filter