}
/**
+ * Returns a hash of block parameters and their configured values.
+ *
+ * @return array Parameter values.
+ */
+ public function getParamValues()
+ {
+ return $this->_params;
+ }
+
+ /**
* Returns the content for this block.
*
* This function handles the changing of current application as
<?php
if ($blocks->isEditable($blockInfo['app'], $blockInfo['block'])):
$block = &$layout->getBlock($row, $col);
- foreach ($block->getParams() as $key => $val) {
+ foreach ($block->getParamValues() as $key => $val) {
$defaults[$key] = $val;
}
if (!isset($defaults['_refresh_time'])) {