From 7512229bcaaf39dc2ca6e9b18770db04a6f800fa Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 27 Jan 2011 17:32:56 +0100 Subject: Getter und Setter für Models gesetzt --- application/models/BootMenuEntries.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/models/BootMenuEntries.php') diff --git a/application/models/BootMenuEntries.php b/application/models/BootMenuEntries.php index 4ae24eb..0d2b5cd 100644 --- a/application/models/BootMenuEntries.php +++ b/application/models/BootMenuEntries.php @@ -13,7 +13,7 @@ class Application_Model_BootMenuEntries { $method = 'set' . $name; if (('mapper' == $name) || !method_exists($this, $method)) { - throw new Exception('Invalid guestbook property'); + throw new Exception('Invalid bootmenuentries property'); } $this->$method($value); } @@ -22,7 +22,7 @@ class Application_Model_BootMenuEntries { $method = 'get' . $name; if (('mapper' == $name) || !method_exists($this, $method)) { - throw new Exception('Invalid guestbook property'); + throw new Exception('Invalid bootmenuentries property'); } return $this->$method(); } -- cgit v1.2.3-55-g7522