Gumbo_Curl
Curl Class
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Implements interfaces:
Class Variables
string $_contents [line 40]
resource $_curl [line 38]
array $_info = array () [line 42]
Class Methods
public Gumbo_Curl __construct ( [string $url] )
[line 50]
Constructor: curl_init()
Parameter(s):
- (string) $url :: URL to call
[ Top ]
public bool|string execute ( )
[line 68]
Executes the CURL call, returning the response
Implementation of:
[ Top ]
public string getContents ( )
[line 128]
Returns the contents returned from the CURL call
Implementation of:
[ Top ]
public array|string getInfo ( [string $opt] )
[line 146]
Returns information about CURL
Parameter(s):
- (string) $opt :: CURLINFO_* option
Implementation of:
[ Top ]
public array getVersion ( [int $age] )
[line 137]
Returns the CURL version information
Parameter(s):
- (int) $age
Implementation of:
[ Top ]
protected void setContents ( [string $contents] )
[line 80]
Sets the contents returned from a CURL call
Parameter(s):
- (string) $contents
[ Top ]