diff options
Diffstat (limited to 'application/models/BootMenu.php')
| -rw-r--r-- | application/models/BootMenu.php | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/application/models/BootMenu.php b/application/models/BootMenu.php index 7f3e31f..0cf0443 100644 --- a/application/models/BootMenu.php +++ b/application/models/BootMenu.php @@ -2,6 +2,11 @@ class Application_Model_BootMenu { + protected $_bootmenuID; + protected $_membershipID; + protected $_title; + protected $_time; + public function __construct(array $options = null) { if (is_array($options)) { @@ -13,7 +18,7 @@ class Application_Model_BootMenu { $method = 'set' . $name; if (('mapper' == $name) || !method_exists($this, $method)) { - throw new Exception('Invalid guestbook property'); + throw new Exception('Invalid bootmenu property'); } $this->$method($value); } @@ -22,7 +27,7 @@ class Application_Model_BootMenu { $method = 'get' . $name; if (('mapper' == $name) || !method_exists($this, $method)) { - throw new Exception('Invalid guestbook property'); + throw new Exception('Invalid bootmenu property'); } return $this->$method(); } @@ -39,5 +44,45 @@ class Application_Model_BootMenu return $this; } + + public function get_bootmenuID() + { + return $this->_bootmenuID; + } + + public function set_bootmenuID($_bootmenuID) + { + $this->_bootmenuID = $_bootmenuID; + } + + public function get_membershipID() + { + return $this->_membershipID; + } + + public function set_membershipID($_membershipID) + { + $this->_membershipID = $_membershipID; + } + + public function get_title() + { + return $this->_title; + } + + public function set_title($_title) + { + $this->_title = $_title; + } + + public function get_time() + { + return $this->_time; + } + + public function set_time($_time) + { + $this->_time = $_time; + } } |
