Ejemplo n.º 1
0
 /**
  * class constructor
  *
  * @param object $stateMachine reference to state machine object
  *
  * @return object
  * @access public
  */
 function __construct(&$stateMachine)
 {
     parent::__construct($stateMachine);
 }
Ejemplo n.º 2
0
 /**
 * class constructor
 *
 * @param object $stateMachine reference to state machine object
 * @param string $uploadDir directory to store the uploaded files
 * @param array $uploadNames element names of the various uploadable files
 *
 * @return \CRM_Core_QuickForm_Action_Upload
   @access public
 */
 function __construct(&$stateMachine, $uploadDir, $uploadNames)
 {
     parent::__construct($stateMachine);
     $this->_uploadDir = $uploadDir;
     $this->_uploadNames = $uploadNames;
 }