*/
class ContentProvider {
- private static $template_cache = array();
+ private static $template_cache = array();
private static $overall_content = array();
private $template, $subtemplate;
private $content = array();
- public function __construct($template, $subtemplate, $content = null) {
+ public function __construct($template, $subtemplate, $content = null) {
$this->template = $template;
$this->subtemplate = $subtemplate;
$this->content = $content;
}
}
-
+
public function set($name, $value) {
$this->content[strtolower($name)] = $value;
}