From e7b70be84f398e81f9514b4d8c09b4fd419ce40c Mon Sep 17 00:00:00 2001 From: akshath0392 Date: Fri, 18 Mar 2016 20:53:32 +0530 Subject: [PATCH] Added new params to override default plugin values --- smppclient.class.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/smppclient.class.php b/smppclient.class.php index 7732471..d9aab98 100644 --- a/smppclient.class.php +++ b/smppclient.class.php @@ -783,6 +783,25 @@ protected function parseTag(&$ar) } return $tag; } + + /* Akshath + * Added new functions to override default plugin params + */ + public function setSystemType($system_type) { + self::$system_type = $system_type; + } + + public function setAddressTON($ton) { + self::$addr_ton = $ton; + } + + public function setAddressNPI($npi) { + self::$addr_npi = $npi; + } + + public function setAddressRange($address_range) { + self::$address_range = $address_range; + } }