<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
*
* The controller which will handle the display and processing of this page.
*
- * @access protected
*/
protected $_controller;
* The heart of the callback processing is done by this method.
* forms are of different type and have different operations.
*
- * @param string formName name of the form processing this action
- * @param string formLabel label for the above form
- * @param int mode mode of operation.
- * @param boolean addSequence should we add a unique sequence number to the end of the key
- * @param boolean ignoreKey should we not set a qfKey for this controller (for standalone forms)
+ * @param string formName name of the form processing this action
+ * @param string formLabel label for the above form
+ * @param int mode mode of operation.
+ * @param bool addSequence should we add a unique sequence number to the end of the key
+ * @param bool ignoreKey should we not set a qfKey for this controller (for standalone forms)
*
* @return void.
- * @access public
*/
- function run($formName, $formLabel = NULL, $arguments = NULL) {
+ public function run($formName, $formLabel = NULL, $arguments = NULL) {
if (is_array($arguments)) {
$mode = CRM_Utils_Array::value('mode', $arguments);
$imageUpload = (bool) CRM_Utils_Array::value('imageUpload', $arguments, FALSE);
return $this->_controller->run();
}
}
-