From c22e65aa3ef4f72f0416fc0f28ee7d0601e78ef8 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 27 Jan 2011 16:59:15 +0100 Subject: BootEntries entfernt --- application/models/BootEntries.php | 43 -------------------------------- application/models/BootEntriesMapper.php | 8 ------ 2 files changed, 51 deletions(-) delete mode 100644 application/models/BootEntries.php delete mode 100644 application/models/BootEntriesMapper.php diff --git a/application/models/BootEntries.php b/application/models/BootEntries.php deleted file mode 100644 index 30562e0..0000000 --- a/application/models/BootEntries.php +++ /dev/null @@ -1,43 +0,0 @@ -setOptions($options); - } - } - - public function __set($name, $value) - { - $method = 'set' . $name; - if (('mapper' == $name) || !method_exists($this, $method)) { - throw new Exception('Invalid guestbook property'); - } - $this->$method($value); - } - - public function __get($name) - { - $method = 'get' . $name; - if (('mapper' == $name) || !method_exists($this, $method)) { - throw new Exception('Invalid guestbook property'); - } - return $this->$method(); - } - - public function setOptions(array $options) - { - $methods = get_class_methods($this); - foreach ($options as $key => $value) { - $method = 'set' . ucfirst($key); - if (in_array($method, $methods)) { - $this->$method($value); - } - } - return $this; - } - -} - diff --git a/application/models/BootEntriesMapper.php b/application/models/BootEntriesMapper.php deleted file mode 100644 index 5b88fc3..0000000 --- a/application/models/BootEntriesMapper.php +++ /dev/null @@ -1,8 +0,0 @@ -