Maileon PHP client
1.5.0
Easily integrate your PHP application with Maileon.
Main Page
Related Pages
Classes
Files
File List
PingService.php
1
<?php
2
9
class
com_maileon_api_utils_PingService
extends
com_maileon_api_AbstractMaileonService
10
{
11
const
PING_RESOURCE =
"ping"
;
12
21
public
function
pingGet
()
22
{
23
return
$this->
get
(self::PING_RESOURCE);
24
}
25
34
public
function
pingPut
()
35
{
36
return
$this->
put
(self::PING_RESOURCE,
""
);
37
}
38
47
public
function
pingPost
()
48
{
49
return
$this->
post
(self::PING_RESOURCE,
"foobar"
);
50
}
51
60
public
function
pingDelete
()
61
{
62
return
$this->
delete
(self::PING_RESOURCE);
63
}
64
75
public
function
checkResult
($result)
76
{
77
return
($result[
'STATUS_CODE'
] ==
'200'
);
78
}
79
}
com_maileon_api_utils_PingService\pingGet
pingGet()
Definition:
PingService.php:21
com_maileon_api_utils_PingService\pingPut
pingPut()
Definition:
PingService.php:34
com_maileon_api_utils_PingService\pingDelete
pingDelete()
Definition:
PingService.php:60
com_maileon_api_utils_PingService\checkResult
checkResult($result)
Definition:
PingService.php:75
com_maileon_api_utils_PingService\pingPost
pingPost()
Definition:
PingService.php:47
com_maileon_api_AbstractMaileonService
Definition:
AbstractMaileonService.php:11
com_maileon_api_utils_PingService
Definition:
PingService.php:9
com_maileon_api_AbstractMaileonService\post
post($resourcePath, $payload="", $queryParameters=array(), $mimeType= 'application/vnd.maileon.api+xml', $deserializationType=null, $contentType=null, $contentLength=null)
Definition:
AbstractMaileonService.php:208
com_maileon_api_AbstractMaileonService\put
put($resourcePath, $payload="", $queryParameters=array(), $mimeType= 'application/vnd.maileon.api+xml', $deserializationType=null)
Definition:
AbstractMaileonService.php:173
client
com
maileon
api
utils
PingService.php
Generated on Tue Apr 2 2019 16:02:13 for Maileon PHP client by
1.8.9.1