Compare commits

..

No commits in common. "master" and "v0.1.1" have entirely different histories.

2 changed files with 15 additions and 20 deletions

View File

@ -1,12 +1,7 @@
0.2 - 2014-08-17 0.1 - 2014-07-31
Changed properties from public to private and removed First relase of the class
public keyword from the functions since this is the
defualt anyway
0.1.1 - 2014-08-02 0.1.1 - 2014-08-02
Added two examples of how to use the class Added two examples of how to use the class
0.1 - 2014-07-31
First relase of the class
Note: For more history information, please see the git log Note: For more history information, please see the git log

View File

@ -19,7 +19,7 @@
/* /*
Version 0.2 Version 0.1.1
Usage example: Usage example:
$MySMS = new Cellsynt("myuser", "mYpaSS", "alpha", "Test"); $MySMS = new Cellsynt("myuser", "mYpaSS", "alpha", "Test");
@ -28,18 +28,18 @@
class Cellsynt class Cellsynt
{ {
private $username; public $username;
private $password; public $password;
private $origType; public $origType;
private $originator; public $originator;
private $phone; public $phone;
private $concat; public $concat;
private $charset; public $charset;
private $type; public $type;
private $expiry; public $expiry;
private $msg; public $msg;
function __construct($username, $password, $origType = "alpha", public function __construct($username, $password, $origType = "alpha",
$originator = "Cellsynt", $concat = 6, $originator = "Cellsynt", $concat = 6,
$charset = "UTF-8", $type = "text") $charset = "UTF-8", $type = "text")
{ {
@ -52,7 +52,7 @@ class Cellsynt
$this->type = $type; $this->type = $type;
} }
function sendSMS($phoneNr, $msg, $expiry = "") public function sendSMS($phoneNr, $msg, $expiry = "")
{ {
$this->msg = $msg; $this->msg = $msg;
$this->phoneNr = $phoneNr; $this->phoneNr = $phoneNr;