Gumbo_Interface_Curl



Curl Interface

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

Interface Methods

public bool|string execute ( ) [line 40]

Executes the CURL call


[ Top ]
public string getContents ( ) [line 66]

Returns the reponse contents returned from the CURL call


[ Top ]
public resource getCurl ( ) [line 60]

Returns the CURL resource


[ Top ]
public array|string getInfo ( [string $opt] ) [line 80]

Returns information about CURL

Parameter(s):

  • (string) $opt :: CURLINFO_* option

[ Top ]
public array getVersion ( [int $age] ) [line 73]

Returns the CURL version information

Parameter(s):

  • (int) $age

[ Top ]
public void setOption ( int|array $option, [mix $value] ) [line 51]

Sets a CURL option

Parameter(s):

  • (int|array) $option :: CURLOPT_* constant
  • (mix) $value :: primitive type value
  • todo:  verify constants

[ Top ]