Issue #2183419 by kgoel: In StylePluginBase Rename Views properties to core standards.
parent
49c1c1e22b
commit
7528f36b2e
|
@ -37,7 +37,7 @@ abstract class StylePluginBase extends PluginBase {
|
|||
/**
|
||||
* Store all available tokens row rows.
|
||||
*/
|
||||
var $row_tokens = array();
|
||||
protected $rowTokens = array();
|
||||
|
||||
/**
|
||||
* Does the style plugin allows to use style plugins.
|
||||
|
@ -201,7 +201,7 @@ abstract class StylePluginBase extends PluginBase {
|
|||
public function tokenizeValue($value, $row_index) {
|
||||
if (strpos($value, '[') !== FALSE || strpos($value, '!') !== FALSE || strpos($value, '%') !== FALSE) {
|
||||
// Row tokens might be empty, for example for node row style.
|
||||
$tokens = isset($this->row_tokens[$row_index]) ? $this->row_tokens[$row_index] : array();
|
||||
$tokens = isset($this->rowTokens[$row_index]) ? $this->rowTokens[$row_index] : array();
|
||||
if (!empty($this->view->build_info['substitutions'])) {
|
||||
$tokens += $this->view->build_info['substitutions'];
|
||||
}
|
||||
|
@ -632,7 +632,7 @@ abstract class StylePluginBase extends PluginBase {
|
|||
$this->rendered_fields[$count][$id] = $this->view->field[$id]->theme($row);
|
||||
}
|
||||
|
||||
$this->row_tokens[$count] = $this->view->field[$id]->getRenderTokens(array());
|
||||
$this->rowTokens[$count] = $this->view->field[$id]->getRenderTokens(array());
|
||||
}
|
||||
}
|
||||
unset($this->view->row_index);
|
||||
|
|
Loading…
Reference in New Issue