Select2 style fixes for public pages
[civicrm-core.git] / CRM / Core / StateMachine.php
index 33ac08229641640336abe9b940a2ae112d85a20e..b1cd60f6201c0509b761b5c4377fe4b98a946ac7 100644 (file)
@@ -87,8 +87,10 @@ class CRM_Core_StateMachine {
    *
    * @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;
@@ -253,12 +255,12 @@ class CRM_Core_StateMachine {
    *
    * @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) {
@@ -355,18 +357,30 @@ class CRM_Core_StateMachine {
     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();
   }