summaryrefslogtreecommitdiff
path: root/classes/Sms_carrier.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-20 15:30:05 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-20 15:30:05 -0400
commit5fd0a788d58bdd7d1348e379a6ecb56498f49718 (patch)
tree03f63d691ad85ef701fa02462a86db483a412e20 /classes/Sms_carrier.php
parentf80c8f8ab079e290cc72ffc071d926cef79273cc (diff)
start sms settings
darcs-hash:20080720193005-84dde-97e098996309550dc98b658923d84620e7715c69.gz
Diffstat (limited to 'classes/Sms_carrier.php')
-rw-r--r--classes/Sms_carrier.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/Sms_carrier.php b/classes/Sms_carrier.php
index 5fb741731..26a88e360 100644
--- a/classes/Sms_carrier.php
+++ b/classes/Sms_carrier.php
@@ -21,4 +21,8 @@ class Sms_carrier extends DB_DataObject
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
+
+ function toEmailAddress($sms) {
+ return sprintf($this->email_pattern, $sms);
+ }
}