+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*/
/**
$this->_controller = &$controller;
$this->_action = $action;
- $this->_states = array();
+ $this->_states = [];
}
/**
$this->_pages = &$pages;
$numPages = count($pages);
- $this->_pageNames = array();
+ $this->_pageNames = [];
foreach ($pages as $tempName => $value) {
if (!empty($value['className'])) {
$this->_pageNames[] = $tempName;