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

Class: Snoopy

Source Location: /modules/infotools/Snoopy.class.php

Class Overview


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


Variables

Methods



Class Details

[line 32]
***********************************************

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 67]


Type:   mixed


[ Top ]

$agent =    "Snoopy v1.2.4"

[line 45]


Type:   mixed


[ Top ]

$cookies = array()

[line 47]


Type:   mixed


[ Top ]

$curl_path =    "/usr/local/bin/curl"

[line 85]


Type:   mixed


[ Top ]

$error =    ""

[line 71]


Type:   mixed


[ Top ]

$expandlinks =    true

[line 56]


Type:   mixed


[ Top ]

$headers = array()

[line 73]


Type:   mixed


[ Top ]

$host =    "www.php.net"

[line 38]

** Public variables ***


Type:   mixed


[ Top ]

$lastredirectaddr =    ""

[line 53]


Type:   mixed


[ Top ]

$maxframes =    0

[line 55]


Type:   mixed


[ Top ]

$maxlength =    500000

[line 74]


Type:   mixed


[ Top ]

$maxredirs =    5

[line 52]


Type:   mixed


[ Top ]

$offsiteok =    true

[line 54]


Type:   mixed


[ Top ]

$pass =    ""

[line 64]


Type:   mixed


[ Top ]

$passcookies =    true

[line 59]


Type:   mixed


[ Top ]

$port =    80

[line 39]


Type:   mixed


[ Top ]

$proxy_host =    ""

[line 40]


Type:   mixed


[ Top ]

$proxy_pass =    ""

[line 43]


Type:   mixed


[ Top ]

$proxy_port =    ""

[line 41]


Type:   mixed


[ Top ]

$proxy_user =    ""

[line 42]


Type:   mixed


[ Top ]

$rawheaders = array()

[line 49]


Type:   mixed


[ Top ]

$read_timeout =    0

[line 75]


Type:   mixed


[ Top ]

$referer =    ""

[line 46]


Type:   mixed


[ Top ]

$response_code =    ""

[line 72]


Type:   mixed


[ Top ]

$results =    ""

[line 69]


Type:   mixed


[ Top ]

$status =    0

[line 79]


Type:   mixed


[ Top ]

$temp_dir =    "/tmp"

[line 81]


Type:   mixed


[ Top ]

$timed_out =    false

[line 78]


Type:   mixed


[ Top ]

$user =    ""

[line 63]


Type:   mixed


[ Top ]

$_fp_timeout =    30

[line 112]


Type:   mixed


[ Top ]

$_framedepth =    0

[line 109]


Type:   mixed


[ Top ]

$_frameurls = array()

[line 108]


Type:   mixed


[ Top ]

$_httpmethod =    "GET"

[line 101]


Type:   mixed


[ Top ]

$_httpversion =    "HTTP/1.0"

[line 102]


Type:   mixed


[ Top ]

$_isproxy =    false

[line 111]


Type:   mixed


[ Top ]

$_maxlinelen =    4096

[line 99]

** Private variables ***


Type:   mixed


[ Top ]

$_mime_boundary =    ""

[line 105]


Type:   mixed


[ Top ]

$_redirectaddr =    false

[line 106]


Type:   mixed


[ Top ]

$_redirectdepth =    0

[line 107]


Type:   mixed


[ Top ]

$_submit_method =    "POST"

[line 103]


Type:   mixed


[ Top ]

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

[line 104]


Type:   mixed


[ Top ]



Class Methods


method fetch [line 123]

void fetch( $URI)



Parameters:

   $URI  

[ Top ]

method fetchform [line 464]

void fetchform( $URI)



Parameters:

   $URI  

[ Top ]

method fetchlinks [line 435]

void fetchlinks( $URI)



Parameters:

   $URI  

[ Top ]

method fetchtext [line 492]

void fetchtext( $URI)



Parameters:

   $URI  

[ Top ]

method setcookies [line 1085]

void setcookies( )



[ Top ]

method set_submit_multipart [line 584]

void set_submit_multipart( )



[ Top ]

method set_submit_normal [line 595]

void set_submit_normal( )



[ Top ]

method submit [line 273]

void submit( $URI, [ $formvars = ""], [ $formfiles = ""])



Parameters:

   $URI  
   $formvars  
   $formfiles  

[ Top ]

method submitlinks [line 516]

void submitlinks( $URI, [ $formvars = ""], [ $formfiles = ""])



Parameters:

   $URI  
   $formvars  
   $formfiles  

[ Top ]

method submittext [line 550]

void submittext( $URI, [ $formvars = ""], [ $formfiles = ""])



Parameters:

   $URI  
   $formvars  
   $formfiles  

[ Top ]

method _check_timeout [line 1101]

void _check_timeout( $fp)



Parameters:

   $fp  

[ Top ]

method _connect [line 1119]

void _connect( &$fp)



Parameters:

   &$fp  

[ Top ]

method _disconnect [line 1172]

void _disconnect( $fp)



Parameters:

   $fp  

[ Top ]

method _expandlinks [line 738]

void _expandlinks( $links, $URI)



Parameters:

   $links  
   $URI  

[ Top ]

method _httprequest [line 778]

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



Parameters:

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

[ Top ]

method _httpsrequest [line 941]

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



Parameters:

   $url  
   $URI  
   $http_method  
   $content_type  
   $body  

[ Top ]

method _prepare_post_body [line 1186]

void _prepare_post_body( $formvars, $formfiles)



Parameters:

   $formvars  
   $formfiles  

[ Top ]

method _stripform [line 649]

void _stripform( $document)



Parameters:

   $document  

[ Top ]

method _striplinks [line 615]

void _striplinks( $document)



Parameters:

   $document  

[ Top ]

method _striptext [line 669]

void _striptext( $document)



Parameters:

   $document  

[ Top ]


Documentation generated on Thu, 12 Feb 2009 08:00:09 +0900 by phpDocumentor 1.4.2