From 570901ba4e526be37afd0cbbe018cb0500a7cda1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Sep 2011 01:22:27 -0400 Subject: Refactor a bit * move a lot of stuff out of MessageManager * move models from lib to models --- src/models/ContactMethod.class.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/models/ContactMethod.class.php (limited to 'src/models/ContactMethod.class.php') diff --git a/src/models/ContactMethod.class.php b/src/models/ContactMethod.class.php new file mode 100644 index 0000000..b01e7d3 --- /dev/null +++ b/src/models/ContactMethod.class.php @@ -0,0 +1,30 @@ +verb_slug = $verb_slug; + $this->addr_slug = $addr_slug; + $this->verb_text = $verb_text; + $this->addr_text = $addr_text; + + global $CONTACT_METHODS; + $CONTACT_METHODS[$verb_slug] = $this; + } + public function setHandler($handler) { + $this->handler = $handler; + } +} -- cgit v1.2.3-2-g168b