+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* things like going back / stepping forward / process etc
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2016
*/
class CRM_Core_State {
}
/**
- * Given an CRM Form, jump to the previous page
+ * Given an CRM Form, jump to the previous page.
+ *
+ * @param CRM_Core_Page $page
*
* @return mixed
* does a jump to the back state
}
/**
- * Given an CRM Form, jump to the next page
+ * Given an CRM Form, jump to the next page.
+ *
+ * @param CRM_Core_Page $page
*
* @return mixed
- * does a jump to the nextstate
+ * Does a jump to the nextstate
*/
public function handleNextState(&$page) {
if ($this->_type & self::FINISH) {
}
/**
- * Determine the name of the next state. This is useful when we want
- * to display the navigation labels or potential path
+ * Determine the name of the next state.
+ *
+ * This is useful when we want to display the navigation labels or potential path.
*
* @return string
*/
/**
* Mark this page as valid for the QFC framework.
+ *
+ * @param array $data
*/
public function validate(&$data) {
$data['valid'][$this->_name] = TRUE;
/**
* Mark this page as invalid for the QFC framework.
+ *
+ * @param array $data
*/
public function invalidate(&$data) {
$data['valid'][$this->_name] = NULL;
/**
* Setter for name.
+ *
+ * @param string $name
*/
public function setName($name) {
$this->_name = $name;