error handler improvements
[simplicity.git] / source / lib / simplicity / core / template / plugin.php
blobc6aa9d2a292873cbd1d3dc3c93942852ef0f070f
1 <?php
3 /**
4 * Template Plugin Interface
5 *
6 * Developers making Template Plugins will extend this.
7 *
8 * @author John Le Drew <jp@antz29.com>
9 * @copyright Copyright (c) 2009, John Le Drew
10 * @license http://www.opensource.org/licenses/mit-license.php MIT License
11 * @version 2.0.0-alpha
13 * @smp_core
15 abstract class smp_TemplatePlugin {
17 private $_template;
19 final public function __construct(smp_Template $template)
21 $this->_template = $template;
22 $this->init();
25 final protected function getTemplate()
27 return $this->_template;
30 protected function init() {}