*
* @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();
}