+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
* Name of session if we want unique scope, used only by Controller_Simple.
* @param bool $addSequence
* Should we add a unique sequence number to the end of the key.
* Name of session if we want unique scope, used only by Controller_Simple.
* @param bool $addSequence
* Should we add a unique sequence number to the end of the key.
// lets try to get it from the session and/or the request vars
// we do this early on in case there is a fatal error in retrieving the
// key and/or session
// lets try to get it from the session and/or the request vars
// we do this early on in case there is a fatal error in retrieving the
// key and/or session
// and created the scope etc
$this->set('qfKey', $this->_key);
// and created the scope etc
$this->set('qfKey', $this->_key);
* Helper function to add all the needed default actions. Note that the framework
* redefines all of the default QFC actions
*
* Helper function to add all the needed default actions. Note that the framework
* redefines all of the default QFC actions
*
- * @param string directory to store all the uploaded files
- * @param array names for the various upload buttons (note u can have more than 1 upload)
+ * @param string $uploadDirectory to store all the uploaded files
+ * @param array $uploadNames for the various upload buttons (note u can have more than 1 upload)
$pages = $stateMachine->getPages();
foreach ($pages as $name => $value) {
$className = CRM_Utils_Array::value('className', $value, $name);
$pages = $stateMachine->getPages();
foreach ($pages as $name => $value) {
$className = CRM_Utils_Array::value('className', $value, $name);
- $title = CRM_Utils_Array::value('title', $value);
- $options = CRM_Utils_Array::value('options', $value);
+ $title = CRM_Utils_Array::value('title', $value);
+ $options = CRM_Utils_Array::value('options', $value);
}
$$stateName = new $className($stateMachine->find($className), $action, 'post', $formName);
if ($title) {
}
$$stateName = new $className($stateMachine->find($className), $action, 'post', $formName);
if ($title) {
* we have two submit buttons, we could have one displayed as a button and
* the other as an image, both are of type 'submit'.
*
* we have two submit buttons, we could have one displayed as a button and
* the other as an image, both are of type 'submit'.
*
- * @param string|array $name name of the variable or an assoc array of name/value pairs
- * @param mixed $value value of the variable if string
+ * @param string|array $name name of the variable or an assoc array of name/value pairs
+ * @param mixed $value
+ * Value of the variable if string.
*/
public function set($name, $value = NULL) {
self::$_session->set($name, $value, $this->_scope);
}
/**
*/
public function set($name, $value = NULL) {
self::$_session->set($name, $value, $this->_scope);
}
/**
*/
public function get($name) {
return self::$_session->get($name, $this->_scope);
}
/**
*/
public function get($name) {
return self::$_session->get($name, $this->_scope);
}
/**