Ejemplo n.º 1
0
 /**
  * @brief construct
  */
 public function __construct($api_key, $api_secret, $basecamp = false)
 {
     if ($basecamp) {
         self::$coolsms_user = $api_key;
         self::$basecamp = true;
     } else {
         self::$api_key = $api_key;
     }
     self::$api_secret = $api_secret;
     self::$user_agent = $_SERVER['HTTP_USER_AGENT'];
 }