| 1 | <?php |
||
| 5 | class LibCurl |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @param string $url |
||
| 9 | * @return resource |
||
| 10 | */ |
||
| 11 | 2 | public function init($url = null) |
|
| 15 | |||
| 16 | /** |
||
| 17 | * @param resource $ch |
||
| 18 | * @param int $option |
||
| 19 | * @param mixed $value |
||
| 20 | */ |
||
| 21 | 2 | public function setOpt($ch, $option, $value) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param resource $ch |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | 2 | public function exec($ch) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param resource $ch |
||
| 37 | * @return int |
||
| 38 | */ |
||
| 39 | 2 | public function errno($ch) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @param resource $ch |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 1 | public function error($ch) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @param resource $ch |
||
| 55 | */ |
||
| 56 | 2 | public function close($ch) |
|
| 60 | } |
||
| 61 |