| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* All of the possible api status possibilities |
| 5 |
* |
| 6 |
* @link http://socketlabs.com |
| 7 |
* @since 1.0.0 |
| 8 |
* |
| 9 |
* @package Socketlabs |
| 10 |
* @subpackage Socketlabs/includes |
| 11 |
*/ |
| 12 |
|
| 13 |
/** |
| 14 |
* Maintain the status of the SocketLabs injection api. |
| 15 |
* |
| 16 |
* @package Socketlabs |
| 17 |
* @subpackage Socketlabs/includes |
| 18 |
* @author SocketLabs Dev Team <support@socketlabs.com> |
| 19 |
*/ |
| 20 |
|
| 21 |
class Socketlabs_Api_Status { |
| 22 |
|
| 23 |
public static $SUCCESS = "Success"; |
| 24 |
public static $NETWORK_ERROR = "Your firewall or network settings may be blocking SocketLabs from connecting to its API..."; |
| 25 |
public static $NO_CREDENTIALS = "Mailings will not be handled by this plugin until the server id and api key have both been configured."; |
| 26 |
public static $BAD_CREDENTIALS = "The supplied server id or api key is not correct."; |
| 27 |
public static $UNKNOWN = "There was an unknown error."; |
| 28 |
|
| 29 |
} |
| 30 |
|