Cleanup phpdoc comments
[civicrm-core.git] / CRM / Custom / Import / Controller.php
CommitLineData
9ff5f6c0 1<?php
4c6ce474
EM
2
3/**
4 * Class CRM_Custom_Import_Controller
5 */
9ff5f6c0
N
6class CRM_Custom_Import_Controller extends CRM_Core_Controller {
7 /**
100fef9d 8 * Class constructor
9ff5f6c0
N
9 */
10 function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
11 parent::__construct($title, $modal);
12
13 // lets get around the time limit issue if possible, CRM-2113
14 if (!ini_get('safe_mode')) {
15 set_time_limit(0);
16 }
17
18 $this->_stateMachine = new CRM_Import_StateMachine($this, $action);
19
20 // create and instantiate the pages
21 $this->addPages($this->_stateMachine, $action);
22
23 // add all the actions
24 $config = CRM_Core_Config::singleton();
25 $this->addActions($config->uploadDir, array('uploadFile'));
26 }
4c6ce474 27}