API Documentation

Filter/Encrypt.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Filter
version
$Id: Encrypt.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Filter_Encrypt

Description

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.

Zend_Filter_Encrypt

Implements
Zend_Filter_Interface
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Filter
Properties
$_adapter
Methods
__construct
getAdapter
setAdapter
__call
filter

Description

Encrypts a given string

Properties

$_adapter

 $_adapter = ''

Encryption adapter

Details

visibility
protected
default
final
false
static
false

Methods

__call

__call( string $method, string|array $options ) :

Calls adapter methods

Arguments
$method
string
Method to call
$options
stringarray
Options for this method
Details
visibility
public
final
false
static
false

__construct

__construct( string|array $options = null ) :

Class constructor

Arguments
$options
stringarray
(Optional) Options to set, if null mcrypt is used
Details
visibility
public
final
false
static
false

filter

filter( string $value ) : string

Defined by Zend_Filter_Interface

Encrypts the content $value with the defined settings

Arguments
$value
string
Content to encrypt
Output
string
The encrypted content
Details
visibility
public
final
false
static
false

getAdapter

getAdapter( ) : string

Returns the name of the set adapter

Output
string
Details
visibility
public
final
false
static
false

setAdapter

setAdapter( string|array $options = null ) : Zend_Filter_Encrypt

Sets new encryption options

Arguments
$options
stringarray
(Optional) Encryption options
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.