コード例 #1
0
ファイル: AdapterAbstract.php プロジェクト: Lavoaster/PVLive
 protected function getUrl(array $c_opts = null)
 {
     if (!isset($c_opts['url'])) {
         $c_opts['url'] = $this->data_url;
     }
     return \PVL\Service\Curl::request($c_opts);
 }
コード例 #2
0
ファイル: AdapterAbstract.php プロジェクト: Lavoaster/PVLive
 protected function getUrl($c_opts = null)
 {
     if ($c_opts === null) {
         $c_opts = array();
     }
     if (!isset($c_opts['url'])) {
         $c_opts['url'] = $this->url;
     }
     if (!isset($c_opts['timeout'])) {
         $c_opts['timeout'] = 4;
     }
     return \PVL\Service\Curl::request($c_opts);
 }
コード例 #3
0
ファイル: ScheduleManager.php プロジェクト: Lavoaster/PVLive
 public static function requestExternalUrl($url)
 {
     return Service\Curl::request(array('url' => $url));
 }