<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
*
* @param object $controller the controller for this state machine
*
- * @return object
- * @access public
+ * @param \const|int $action
+ *
+ * @return \CRM_Core_StateMachine
+ @access public
*/
function __construct(&$controller, $action = CRM_Core_Action::NONE) {
$this->_controller = &$controller;
*
* @access public
*
- * @param array $states states is an array of arrays. Each element
+ * @param array $pages (reference ) the array of page objects
+ *
+ * @internal param array $states states is an array of arrays. Each element
* of the top level array describes a state. Each state description
* includes the name, the display name and the class name
*
- * @param array $pages (reference ) the array of page objects
- *
* @return void
*/
function addSequentialPages(&$pages) {
return $this->_controller->getContent();
}
+ /**
+ * @return mixed
+ */
function getDestination() {
return $this->_controller->getDestination();
}
+ /**
+ * @return mixed
+ */
function getSkipRedirection() {
return $this->_controller->getSkipRedirection();
}
+ /**
+ * @return mixed
+ */
function fini() {
return $this->_controller->fini();
}
+ /**
+ * @return mixed
+ */
function cancelAction() {
return $this->_controller->cancelAction();
}