4 * Class CRM_Event_Cart_Controller_Checkout
6 class CRM_Event_Cart_Controller_Checkout
extends CRM_Core_Controller
{
9 * @param bool|int $action
12 function __construct($title = NULL, $action = CRM_Core_Action
::NONE
, $modal = TRUE) {
13 parent
::__construct($title, $modal);
16 $this->_stateMachine
= new CRM_Event_Cart_StateMachine_Checkout($this, $action);
17 $this->addPages($this->_stateMachine
, $action);
18 $config = CRM_Core_Config
::singleton();
20 //changes for custom data type File
21 $uploadNames = $this->get('uploadNames');
22 if (is_array($uploadNames) && !empty($uploadNames)) {
23 $this->addActions($config->customFileUploadDir
, $uploadNames);
26 // add all the actions