Esempio n. 1
0
 protected function _post($host, $path, array $params)
 {
     if ($this->_type == self::TYPE_TYPEPAD) {
         $caller = $this->_getCallerMethod();
         if (strtolower($caller) == 'verifykey') {
             $host = self::TYPEPAD_API_URL;
         } else {
             $host = $this->getApiKey() . '.' . self::TYPEPAD_API_URL;
         }
     }
     return parent::_post($host, $path, $params);
 }