Varien_Crypt Class Reference

List of all members.

Static Public Member Functions

static factory ($method='mcrypt')


Detailed Description

Definition at line 35 of file Crypt.php.


Member Function Documentation

static factory ( method = 'mcrypt'  )  [static]

Factory method to return requested cipher logic

Parameters:
string $method
Returns:
Varien_Crypt_Abstract

Definition at line 43 of file Crypt.php.

00044     {
00045         $uc = str_replace(' ','_',ucwords(str_replace('_',' ',$method)));
00046         $className = 'Varien_Crypt_'.$uc;
00047         return new $className;
00048     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:58 2009 for Magento by  doxygen 1.5.8