Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions Pushover.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ public function __construct () {
*/
public function setToken ($token) {
$this->_token = (string)$token;

return $this;
}

/**
Expand All @@ -170,6 +172,8 @@ public function getToken () {
*/
public function setUser ($user) {
$this->_user = (string)$user;

return $this;
}

/**
Expand Down Expand Up @@ -213,6 +217,8 @@ public function getUser () {
*/
public function setTitle ($title) {
$this->_title = (string)$title;

return $this;
}

/**
Expand All @@ -233,6 +239,8 @@ public function getTitle () {
*/
public function setHtml ($html) {
$this->_html = (int)$html;

return $this;
}

/**
Expand All @@ -251,6 +259,8 @@ public function getHtml () {
*/
public function setRetry ($retry) {
$this->_retry = (int)$retry;

return $this;
}

/**
Expand All @@ -269,6 +279,8 @@ public function getRetry() {
*/
public function setExpire ($expire) {
$this->_expire = (int)$expire;

return $this;
}

/**
Expand All @@ -287,6 +299,8 @@ public function getExpire () {
*/
public function setCallback ($callback) {
$this->_callback = $callback;

return $this;
}

/**
Expand All @@ -307,6 +321,8 @@ public function getCallback() {
*/
public function setMessage ($msg) {
$this->_message = (string)$msg;

return $this;
}

/**
Expand All @@ -327,6 +343,8 @@ public function getMessage () {
*/
public function setDevice ($device) {
$this->_device = (string)$device;

return $this;
}

/**
Expand All @@ -349,6 +367,8 @@ public function getDevice () {
*/
public function setTimestamp ($time) {
$this->_timestamp = (int)$time;

return $this;
}

/**
Expand All @@ -374,6 +394,8 @@ public function getTimestamp () {
*/
public function setPriority ($priority) {
$this->_priority = (int)$priority;

return $this;
}

/**
Expand All @@ -394,6 +416,8 @@ public function getPriority () {
*/
public function setUrl ($url) {
$this->_url = (string)$url;

return $this;
}

/**
Expand All @@ -414,6 +438,8 @@ public function getUrl () {
*/
public function setUrlTitle ($url_title) {
$this->_url_title = (string)$url_title;

return $this;
}

/**
Expand All @@ -434,6 +460,8 @@ public function getUrlTitle () {
*/
public function setReceipt ($receipt) {
$this->_receipt = (string)$receipt;

return $this;
}

/**
Expand All @@ -454,6 +482,8 @@ public function getReceipt () {
*/
public function setDebug ($debug) {
$this->_debug = (boolean)$debug;

return $this;
}

/**
Expand All @@ -474,6 +504,8 @@ public function getDebug () {
*/
public function setSound ($sound) {
$this->_sound = (string)$sound;

return $this;
}

/**
Expand Down