2 class CRM_Event_Cart_Controller_Checkout
extends CRM_Core_Controller
{
3 function __construct($title = NULL, $action = CRM_Core_Action
::NONE
, $modal = TRUE) {
4 parent
::__construct($title, $modal);
7 $this->_stateMachine
= new CRM_Event_Cart_StateMachine_Checkout($this, $action);
8 $this->addPages($this->_stateMachine
, $action);
9 $config = CRM_Core_Config
::singleton();
11 //changes for custom data type File
12 $uploadNames = $this->get('uploadNames');
13 if (is_array($uploadNames) && !empty($uploadNames)) {
14 $this->addActions($config->customFileUploadDir
, $uploadNames);
17 // add all the actions