From 483cf72448b17d10eeeea14ffa1daf137c472b9d Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 13 Oct 2007 08:50:48 +0000 Subject: [PATCH] --- lib/Doctrine/Template.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lib/Doctrine/Template.php b/lib/Doctrine/Template.php index 79ee884d1..e80013fb4 100644 --- a/lib/Doctrine/Template.php +++ b/lib/Doctrine/Template.php @@ -80,14 +80,20 @@ class Doctrine_Template extends Doctrine_Record_Abstract { return $this->_invoker; } - public function get() - { - throw new Exception(); - } + public function getPlugin() { return $this->_plugin; } + + public function get($name) + { + throw new Doctrine_Exception("Templates doesn't support accessors."); + } + public function set($name, $value) + { + throw new Doctrine_Exception("Templates doesn't support accessors."); + } public function setUp() { @@ -97,4 +103,4 @@ class Doctrine_Template extends Doctrine_Record_Abstract { } -} \ No newline at end of file +}