1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/template-events] Make style names private on template.

PHPBB3-9550
This commit is contained in:
Oleg Pudeyev
2012-11-08 21:02:02 -05:00
parent d42d71b47d
commit da7d888448
2 changed files with 14 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ class phpbb_template
*
* @var array
*/
public $style_names;
private $style_names;
/**
* Constructor.
@@ -123,6 +123,18 @@ class phpbb_template
return true;
}
/**
* Sets the style names corresponding to style hierarchy being compiled
* and/or rendered.
*
* @param array $style_names List of style names in inheritance tree order
* @return null
*/
public function set_style_names(array $style_names)
{
$this->style_names = $style_names;
}
/**
* Clears all variables and blocks assigned to this template.
*/