From 63cba020289d0f73dc39e32f9c684f7fe48a4650 Mon Sep 17 00:00:00 2001 From: zYne Date: Sun, 2 Sep 2007 17:34:44 +0000 Subject: [PATCH] --- lib/Doctrine/Plugin.php | 2 +- lib/Doctrine/Plugin/Exception.php | 34 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 lib/Doctrine/Plugin/Exception.php diff --git a/lib/Doctrine/Plugin.php b/lib/Doctrine/Plugin.php index 41cc3b7ba..c727db582 100644 --- a/lib/Doctrine/Plugin.php +++ b/lib/Doctrine/Plugin.php @@ -44,7 +44,7 @@ class Doctrine_Plugin */ public function __get($option) { - if (isset($this->options[$option])) { + if (isset($this->_options[$option])) { return $this->_options[$option]; } return null; diff --git a/lib/Doctrine/Plugin/Exception.php b/lib/Doctrine/Plugin/Exception.php new file mode 100644 index 000000000..55d7a148a --- /dev/null +++ b/lib/Doctrine/Plugin/Exception.php @@ -0,0 +1,34 @@ +. + */ +Doctrine::autoload('Doctrine_Exception'); +/** + * Doctrine_Plugin_Exception + * + * @package Doctrine + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + * @author Konsta Vesterinen + */ +class Doctrine_Plugin_Exception extends Doctrine_Exception +{ }