+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* Are we in print mode? if so we need to modify the display
* functionality to do a minimal display :)
*
* Are we in print mode? if so we need to modify the display
* functionality to do a minimal display :)
*
* Should we add a unique sequence number to the end of the key.
* @param bool $ignoreKey
* Should we not set a qfKey for this controller (for standalone forms).
* Should we add a unique sequence number to the end of the key.
* @param bool $ignoreKey
* Should we not set a qfKey for this controller (for standalone forms).
// only use the civicrm cache if we have a valid key
// else we clash with other users CRM-7059
if (!empty($this->_key)) {
// only use the civicrm cache if we have a valid key
// else we clash with other users CRM-7059
if (!empty($this->_key)) {
$this->_print = CRM_Core_Smarty::PRINT_NOFORM;
}
// Respond with JSON if in AJAX context (also support legacy value '6')
$this->_print = CRM_Core_Smarty::PRINT_NOFORM;
}
// Respond with JSON if in AJAX context (also support legacy value '6')
- CRM_Core_BAO_Cache::storeSessionToCache(array(
- "_{$this->_name}_container",
- array('CiviCRM', $this->_scope),
- ),
- TRUE
- );
+ CRM_Core_BAO_Cache::storeSessionToCache([
+ "_{$this->_name}_container",
+ ['CiviCRM', $this->_scope],
+ ], TRUE);
* @param array $uploadNames for the various upload buttons (note u can have more than 1 upload)
*/
public function addActions($uploadDirectory = NULL, $uploadNames = NULL) {
* @param array $uploadNames for the various upload buttons (note u can have more than 1 upload)
*/
public function addActions($uploadDirectory = NULL, $uploadNames = NULL) {
'display' => 'CRM_Core_QuickForm_Action_Display',
'next' => 'CRM_Core_QuickForm_Action_Next',
'back' => 'CRM_Core_QuickForm_Action_Back',
'display' => 'CRM_Core_QuickForm_Action_Display',
'next' => 'CRM_Core_QuickForm_Action_Next',
'back' => 'CRM_Core_QuickForm_Action_Back',
'done' => 'CRM_Core_QuickForm_Action_Done',
'jump' => 'CRM_Core_QuickForm_Action_Jump',
'submit' => 'CRM_Core_QuickForm_Action_Submit',
'done' => 'CRM_Core_QuickForm_Action_Done',
'jump' => 'CRM_Core_QuickForm_Action_Jump',
'submit' => 'CRM_Core_QuickForm_Action_Submit',
'name' => $name,
'title' => $page->getTitle(),
//'link' => $page->getLink ( ),
'name' => $name,
'title' => $page->getTitle(),
//'link' => $page->getLink ( ),
'barClass' => '',
'stepPrefixCurrent' => '»',
'stepPrefixPast' => '✔',
'barClass' => '',
'stepPrefixCurrent' => '»',
'stepPrefixPast' => '✔',
'subStepPrefixPast' => ' ',
'subStepPrefixFuture' => ' ',
'showTitle' => 1,
'subStepPrefixPast' => ' ',
'subStepPrefixFuture' => ' ',
'showTitle' => 1,