*
* @param null $path
* @param bool $title
- * @param string path the class Path of the form being implemented
+ * @param string path the class Path of the form being implemented
* @param bool $imageUpload
- * @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)
+ * @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).
* @param bool $attachUpload
*
*
* @return \CRM_Core_Controller_Simple
- * @access public
*/
function __construct(
$path,
$title,
- $mode = NULL,
- $imageUpload = FALSE,
- $addSequence = FALSE,
- $ignoreKey = FALSE,
+ $mode = NULL,
+ $imageUpload = FALSE,
+ $addSequence = FALSE,
+ $ignoreKey = FALSE,
$attachUpload = FALSE
) {
// by definition a single page is modal :). We use the form name as the scope for this controller
$mode = $savedAction;
}
-
$this->_stateMachine->addSequentialPages($params, $mode);
$this->addPages($this->_stateMachine, $mode);
* A wrapper for getTemplateFileName that includes calling the hook to
* prevent us from having to copy & paste the logic of calling the hook
*/
- function getHookedTemplateFileName() {
+ public function getHookedTemplateFileName() {
$pageTemplateFile = $this->getTemplateFileName();
CRM_Utils_Hook::alterTemplateFile(get_class($this), $this, 'page', $pageTemplateFile);
return $pageTemplateFile;
}
}
-