function MCAPI::ping in Mailchimp 6
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::ping()
- 5 MCAPI.class.php \MCAPI::ping()
- 6.2 MCAPI.class.php \MCAPI::ping()
- 7 MCAPI.class.php \MCAPI::ping()
"Ping" the MailChimp API - a simple method you can call that will return a constant value as long as everything is good. Note than unlike most all of our methods, we don't throw an Exception if we are having issues. You will simply receive a different string back that will explain our view on what is going on.
@section Helper @example xml-rpc_ping.php
Return value
string returns "Everything's Chimpy!" if everything is chimpy, otherwise returns an error message
File
- ./
MCAPI.class.php, line 1007
Class
Code
function ping() {
$params = array();
return $this
->callServer("ping", $params);
}