Class escape
Escapes an input string with respect to a given source character set.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Set\Mutable implements Core\Mutator
- Core\Field implements Core\Inquiry
- Core\Encoder
- Core\Encoder\Driver\escape
Direct known subclasses
Package: Core\Encoder
Since: 3.0
Requires: PHP 5.3, MBString (optional, for character set support)
Version: 1.1
Located at Encoder/Driver/escape.inc.php
Methods summary
public
|
|
protected
string
|
Methods inherited from Core\Encoder
__invoke()
,
autocreate()
,
chain()
,
decoderChainURI()
,
decoderURI()
,
encode()
,
encoderChainURI()
,
getDataForUndefinedKey()
,
resolveDecoder()
,
resolveDecoderChain()
,
reversible()
,
verify()
Methods inherited from Core\Field
getDataForKey()
,
getDataForKeys()
,
issetDataForKey()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Core\Set\Mutable
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\Encoder
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
string
|
$_v_charset
Configured name of character set to apply to strings for encoding. If
not set, the character set will be guessed on each encoder call.
If the supplied string and the character set do not match, the string
is encoded on a per-byte basis.
To treat all strings as binary (i.e. basically ASCII), set the character
set to |
Properties inherited from Core\Encoder
Properties inherited from Core\Field
Magic properties
public read-only
string
|
$charset
Name of character set expected for string arguments. |