Mage_Dataflow_Model_Convert Class Reference

List of all members.

Static Public Member Functions

static convert ($class, $method, $data, array $vars=array())


Detailed Description

Definition at line 35 of file Convert.php.


Member Function Documentation

static convert ( class,
method,
data,
array vars = array() 
) [static]

Definition at line 38 of file Convert.php.

00039     {
00040         if (is_string($class)) {
00041             $class = new $class();
00042         }
00043         $action = new Mage_Dataflow_Model_Convert_Action();
00044         $action->setParam('method', $method)->setParam('class', $class);
00045 
00046         $container = $action->getContainer();
00047         $container->setData($data)->setVars($vars);
00048 
00049         $action->run();
00050         return $action->getData();
00051     }


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

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