Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Filter_Encrypt Class Reference

Public Member Functions

 __construct ($options=null)
 Class constructor.
 
 getAdapter ()
 Returns the name of the set adapter.
 
 setAdapter ($options=null)
 Sets new encryption options.
 
 __call ($method, $options)
 Calls adapter methods.
 
 filter ($value)
 Defined by Zend_Filter_Interface.
 

Protected Attributes

 $_adapter
 Encryption adapter.
 

Constructor & Destructor Documentation

__construct (   $options = null)

Class constructor.

Parameters
string | array$options(Optional) Options to set, if null mcrypt is used

Member Function Documentation

__call (   $method,
  $options 
)

Calls adapter methods.

Parameters
string$methodMethod to call
string | array$optionsOptions for this method
filter (   $value)

Defined by Zend_Filter_Interface.

Encrypts the content $value with the defined settings

Parameters
string$valueContent to encrypt
Returns
string The encrypted content

Implements Zend_Filter_Interface.

getAdapter ( )

Returns the name of the set adapter.

Returns
string
setAdapter (   $options = null)

Sets new encryption options.

Parameters
string | array$options(Optional) Encryption options
Returns
Zend_Filter_Encrypt

Member Data Documentation

$_adapter
protected

Encryption adapter.