lodel
[ class tree: lodel ] [ index: lodel ] [ all elements ]

Class: Snoopy

Source Location: /lodel/scripts/magpierss/extlib/Snoopy.class.inc

Class Overview


***********************************************


Variables

Methods



Class Details

[line 38]
***********************************************

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***********************************************




[ Top ]


Class Variables

$accept =    "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"

[line 70]


Type:   mixed


[ Top ]

$agent =    "Snoopy v1.0"

[line 48]


Type:   mixed


[ Top ]

$cookies = array()

[line 50]


Type:   mixed


[ Top ]

$curl_path =    "/usr/bin/curl"

[line 84]


Type:   mixed


[ Top ]

$error =    ""

[line 74]


Type:   mixed


[ Top ]

$expandlinks =    true

[line 59]


Type:   mixed


[ Top ]

$headers = array()

[line 76]


Type:   mixed


[ Top ]

$host =    "www.php.net"

[line 44]

** Public variables ***


Type:   mixed


[ Top ]

$lastredirectaddr =    ""

[line 56]


Type:   mixed


[ Top ]

$maxframes =    0

[line 58]


Type:   mixed


[ Top ]

$maxlength =    500000

[line 77]


Type:   mixed


[ Top ]

$maxredirs =    5

[line 55]


Type:   mixed


[ Top ]

$offsiteok =    true

[line 57]


Type:   mixed


[ Top ]

$pass =    ""

[line 67]


Type:   mixed


[ Top ]

$passcookies =    true

[line 62]


Type:   mixed


[ Top ]

$port =    80

[line 45]


Type:   mixed


[ Top ]

$proxy_host =    ""

[line 46]


Type:   mixed


[ Top ]

$proxy_port =    ""

[line 47]


Type:   mixed


[ Top ]

$rawheaders = array()

[line 52]


Type:   mixed


[ Top ]

$read_timeout =    0

[line 78]


Type:   mixed


[ Top ]

$referer =    ""

[line 49]


Type:   mixed


[ Top ]

$response_code =    ""

[line 75]


Type:   mixed


[ Top ]

$results =    ""

[line 72]


Type:   mixed


[ Top ]

$status =    0

[line 82]


Type:   mixed


[ Top ]

$timed_out =    false

[line 81]


Type:   mixed


[ Top ]

$user =    ""

[line 66]


Type:   mixed


[ Top ]

$use_gzip =  true

[line 97]


Type:   mixed


[ Top ]

$_fp_timeout =    30

[line 114]


Type:   mixed


[ Top ]

$_framedepth =    0

[line 111]


Type:   mixed


[ Top ]

$_frameurls = array()

[line 110]


Type:   mixed


[ Top ]

$_httpmethod =    "GET"

[line 103]


Type:   mixed


[ Top ]

$_httpversion =    "HTTP/1.0"

[line 104]


Type:   mixed


[ Top ]

$_isproxy =    false

[line 113]


Type:   mixed


[ Top ]

$_maxlinelen =    4096

[line 101]

** Private variables ***


Type:   mixed


[ Top ]

$_mime_boundary =    ""

[line 107]


Type:   mixed


[ Top ]

$_redirectaddr =    false

[line 108]


Type:   mixed


[ Top ]

$_redirectdepth =    0

[line 109]


Type:   mixed


[ Top ]

$_submit_method =    "POST"

[line 105]


Type:   mixed


[ Top ]

$_submit_type =    "application/x-www-form-urlencoded"

[line 106]


Type:   mixed


[ Top ]



Class Methods


method fetch [line 125]

void fetch( $URI)



Parameters:

   $URI  

[ Top ]

method setcookies [line 737]

void setcookies( )



[ Top ]

method _check_timeout [line 753]

void _check_timeout( $fp)



Parameters:

   $fp  

[ Top ]

method _connect [line 771]

void _connect( &$fp)



Parameters:

   &$fp  

[ Top ]

method _disconnect [line 823]

void _disconnect( $fp)



Parameters:

   $fp  

[ Top ]

method _expandlinks [line 373]

void _expandlinks( $links, $URI)



Parameters:

   $links  
   $URI  

[ Top ]

method _httprequest [line 407]

void _httprequest( $url, $fp, $URI, $http_method, [ $content_type = ""], [ $body = ""])



Parameters:

   $url  
   $fp  
   $URI  
   $http_method  
   $content_type  
   $body  

[ Top ]

method _httpsrequest [line 590]

void _httpsrequest( $url, $URI, $http_method, [ $content_type = ""], [ $body = ""])



Parameters:

   $url  
   $URI  
   $http_method  
   $content_type  
   $body  

[ Top ]

method _prepare_post_body [line 837]

void _prepare_post_body( $formvars, $formfiles)



Parameters:

   $formvars  
   $formfiles  

[ Top ]

method _stripform [line 307]

void _stripform( $document)



Parameters:

   $document  

[ Top ]

method _striplinks [line 273]

void _striplinks( $document)



Parameters:

   $document  

[ Top ]

method _striptext [line 327]

void _striptext( $document)



Parameters:

   $document  

[ Top ]


Documentation generated on Wed, 11 Mar 2009 10:51:01 +0100 by phpDocumentor 1.4.2