Select2 style fixes for public pages
[civicrm-core.git] / CRM / Core / StateMachine.php
index f6419a8ce2eeec1e9fa8a2b3239475f9879d2b1b..b1cd60f6201c0509b761b5c4377fe4b98a946ac7 100644 (file)
@@ -1,9 +1,9 @@
 <?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.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -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();
   }