Methods
Calls adapter methods
__call(string $method, string | array $options) : mixed
Inherited
inherited_from |
\Zend\Filter\Encrypt::__call() |
Parameters
$method
string
Method to call
$options
stringarray
Options for this method
Exceptions
Returns
mixed
Class constructor
__construct(string | array | \Traversable $options)
Inherited
inherited_from |
\Zend\Filter\Encrypt::__construct() |
Parameters
$options
stringarray\Traversable
(Optional) Options to set, if null mcrypt is used
Invoke filter as a command
__invoke(mixed $value) : mixed
Inherited
Proxies to filter()
inherited_from |
\Zend\Filter\AbstractFilter::__invoke() |
inherited_from |
\Zend\Filter\Encrypt::__invoke() |
Parameters
$value
mixed
Exceptions
Returns
mixed
Defined by Zend\Filter\Filter
filter(string $value) : string
Decrypts the content $value with the defined settings
Parameters
$value
string
Content to decrypt
Exceptions
Returns
string
The decrypted content
Returns the name of the set adapter
getAdapter() : string
Inherited
inherited_from |
\Zend\Filter\Encrypt::getAdapter() |
Returns
string
Retrieve options representing object state
getOptions() : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::getOptions() |
inherited_from |
\Zend\Filter\Encrypt::getOptions() |
Returns
array
hasPcreUnicodeSupport()
hasPcreUnicodeSupport() : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
inherited_from |
\Zend\Filter\Encrypt::hasPcreUnicodeSupport() |
Returns
bool
Sets new encryption options
setAdapter(string | array $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\Encrypt::setAdapter() |
Parameters
$options
stringarray
(Optional) Encryption options
Exceptions
Returns
\Zend\Filter\self
setOptions()
setOptions(array | \Traversable $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::setOptions() |
inherited_from |
\Zend\Filter\Encrypt::setOptions() |
Parameters
$options
array\Traversable
Exceptions
Returns
\Zend\Filter\self
isOptions()
isOptions(mixed $options) : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::isOptions() |
inherited_from |
\Zend\Filter\Encrypt::isOptions() |
Parameters
$options
mixed
Returns
bool
Properties
Encryption adapter
$adapter
Inherited
param |
<p>Encrypt\EncryptionAlgorithmInterface</p>
|
inherited_from |
\Zend\Filter\Encrypt::$$adapter |
Filter options
$options : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::$$options |
inherited_from |
\Zend\Filter\Encrypt::$$options |