"Fossies" - the Fresh Open Source Software Archive

Member "docs/phpcrawl/PHPCrawlerDNSCache.html" (20 Jan 2013, 8678 Bytes) of package /linux/www/SitemapCreator.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="iso-8859-1"?>
    2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3   <html xmlns="http://www.w3.org/1999/xhtml">
    4         <head>
    5             <!-- template designed by Marco Von Ballmoos -->
    6             <title>Docs For Class PHPCrawlerDNSCache</title>
    7             <link rel="stylesheet" href="../media/stylesheet.css" />
    8             <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
    9         </head>
   10         <body>
   11             <div class="page-body">         
   12 <h2 class="class-name">Class PHPCrawlerDNSCache</h2>
   13 
   14 <a name="sec-description"></a>
   15 <div class="info-box">
   16     <div class="info-box-title">Description</div>
   17     <div class="nav-bar">
   18                     <span class="disabled">Description</span> |
   19                                                     <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
   20                         |                                           <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
   21                         
   22                     </div>
   23     <div class="info-box-body">
   24                 <!-- ========== Info from phpDoc block ========= -->
   25 <p class="short-description">Simple DNS-cache used by phpcrawl.</p>
   26         <p class="notes">
   27             Located in <a class="field" href="_libs---PHPCrawler---PHPCrawlerDNSCache.class.php.html">/libs/PHPCrawler/PHPCrawlerDNSCache.class.php</a> (line <span class="field">8</span>)
   28         </p>
   29         
   30                 
   31         <pre></pre>
   32     
   33             </div>
   34 </div>
   35 
   36 
   37 
   38     <a name="sec-var-summary"></a>
   39     <div class="info-box">
   40         <div class="info-box-title">Variable Summary</span></div>
   41         <div class="nav-bar">
   42             <a href="#sec-description">Description</a> |
   43                         <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
   44                             | 
   45                                     <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
   46                             
   47                                 </div>
   48         <div class="info-box-body">
   49             <div class="var-summary">
   50                                                                                                 <div class="var-title">
   51                     <span class="var-type">array</span>
   52                     <a href="#$host_ip_array" title="details" class="var-name">$host_ip_array</a>
   53                 </div>
   54                                             </div>
   55         </div>
   56     </div>
   57 
   58     <a name="sec-method-summary"></a>
   59     <div class="info-box">
   60         <div class="info-box-title">Method Summary</span></div>
   61         <div class="nav-bar">
   62             <a href="#sec-description">Description</a> |
   63                                                                         <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
   64                  
   65                 |
   66                         <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
   67         </div>
   68         <div class="info-box-body">         
   69             <div class="method-summary">
   70                                                                                                                                                 
   71                                                 <div class="method-definition">
   72                                             <span class="method-result">PHPCrawlerDNSCache</span>
   73                                         <a href="#__construct" title="details" class="method-name">__construct</a>
   74                                         ()
   75                                     </div>
   76                                                                 <div class="method-definition">
   77                                             <span class="method-result">string</span>
   78                                         <a href="#getIP" title="details" class="method-name">getIP</a>
   79                                             (<span class="var-type"></span>&nbsp;<span class="var-name">$hostname</span>)
   80                                     </div>
   81                                                                 <div class="method-definition">
   82                                             <span class="method-result">bool</span>
   83                                         <a href="#hostInCache" title="details" class="method-name">hostInCache</a>
   84                                             (<span class="var-type">string</span>&nbsp;<span class="var-name">$hostname</span>)
   85                                     </div>
   86                                                                 <div class="method-definition">
   87                                             <span class="method-result">bool</span>
   88                                         <a href="#urlHostInCache" title="details" class="method-name">urlHostInCache</a>
   89                                             (<span class="var-type"><a href="../phpcrawl/PHPCrawlerURLDescriptor.html">PHPCrawlerURLDescriptor</a></span>&nbsp;<span class="var-name">$URL</span>)
   90                                     </div>
   91                                 </div>
   92         </div>
   93     </div>      
   94 
   95     <a name="sec-vars"></a>
   96     <div class="info-box">
   97         <div class="info-box-title">Variables</div>
   98         <div class="nav-bar">
   99             <a href="#sec-description">Description</a> |
  100                                         <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
  101                         
  102             
  103                                         | 
  104                                     <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
  105                             
  106                     </div>
  107         <div class="info-box-body">
  108             <a name="var$host_ip_array" id="$host_ip_array"><!-- --></A>
  109 <div class="oddrow">
  110 
  111     <div class="var-header">
  112         <span class="var-title">
  113             <span class="var-type">array</span>
  114             <span class="var-name">$host_ip_array</span>
  115                         (line <span class="line-number">15</span>)
  116         </span>
  117     </div>
  118 
  119     <!-- ========== Info from phpDoc block ========= -->
  120 <p class="short-description">Array for caching IPs of the requested hostnames</p>
  121     <ul class="tags">
  122                 <li><span class="field">var:</span> Associative array, keys = hostnames, values = IPs.</li>
  123                 <li><span class="field">access:</span> protected</li>
  124             </ul>
  125     
  126     
  127         
  128         
  129 
  130 </div>
  131                         
  132         </div>
  133     </div>
  134     
  135     <a name="sec-methods"></a>
  136     <div class="info-box">
  137         <div class="info-box-title">Methods</div>
  138         <div class="nav-bar">
  139             <a href="#sec-description">Description</a> |
  140                                                             <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
  141                                                                     <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
  142                         
  143         </div>
  144         <div class="info-box-body">
  145             <A NAME='method_detail'></A>
  146 
  147 <a name="method__construct" id="__construct"><!-- --></a>
  148 <div class="evenrow">
  149     
  150     <div class="method-header">
  151         <span class="method-title">Constructor __construct</span> (line <span class="line-number">17</span>)
  152     </div> 
  153     
  154     <!-- ========== Info from phpDoc block ========= -->
  155     <ul class="tags">
  156                 <li><span class="field">access:</span> public</li>
  157             </ul>
  158     
  159     <div class="method-signature">
  160         <span class="method-result">PHPCrawlerDNSCache</span>
  161         <span class="method-name">
  162             __construct
  163         </span>
  164                 ()
  165             </div>
  166     
  167         
  168             
  169     </div>
  170 <a name="methodgetIP" id="getIP"><!-- --></a>
  171 <div class="oddrow">
  172     
  173     <div class="method-header">
  174         <span class="method-title">getIP</span> (line <span class="line-number">26</span>)
  175     </div> 
  176     
  177     <!-- ========== Info from phpDoc block ========= -->
  178 <p class="short-description">Returns the IP for the given hostname.</p>
  179     <ul class="tags">
  180                 <li><span class="field">return:</span> The IP-address.</li>
  181                 <li><span class="field">access:</span> public</li>
  182             </ul>
  183     
  184     <div class="method-signature">
  185         <span class="method-result">string</span>
  186         <span class="method-name">
  187             getIP
  188         </span>
  189                     (<span class="var-type"></span>&nbsp;<span class="var-name">$hostname</span>)
  190             </div>
  191     
  192             <ul class="parameters">
  193                     <li>
  194                 <span class="var-type"></span>
  195                 <span class="var-name">$hostname</span>         </li>
  196                 </ul>
  197         
  198             
  199     </div>
  200 <a name="methodhostInCache" id="hostInCache"><!-- --></a>
  201 <div class="evenrow">
  202     
  203     <div class="method-header">
  204         <span class="method-title">hostInCache</span> (line <span class="line-number">49</span>)
  205     </div> 
  206     
  207     <!-- ========== Info from phpDoc block ========= -->
  208 <p class="short-description">Checks whether a hostname is already cached.</p>
  209     <ul class="tags">
  210                 <li><span class="field">access:</span> public</li>
  211             </ul>
  212     
  213     <div class="method-signature">
  214         <span class="method-result">bool</span>
  215         <span class="method-name">
  216             hostInCache
  217         </span>
  218                     (<span class="var-type">string</span>&nbsp;<span class="var-name">$hostname</span>)
  219             </div>
  220     
  221             <ul class="parameters">
  222                     <li>
  223                 <span class="var-type">string</span>
  224                 <span class="var-name">$hostname</span><span class="var-description">: The hostname</span>          </li>
  225                 </ul>
  226         
  227             
  228     </div>
  229 <a name="methodurlHostInCache" id="urlHostInCache"><!-- --></a>
  230 <div class="oddrow">
  231     
  232     <div class="method-header">
  233         <span class="method-title">urlHostInCache</span> (line <span class="line-number">61</span>)
  234     </div> 
  235     
  236     <!-- ========== Info from phpDoc block ========= -->
  237 <p class="short-description">Checks whether the hostname of the given URL is already cached</p>
  238     <ul class="tags">
  239                 <li><span class="field">access:</span> public</li>
  240             </ul>
  241     
  242     <div class="method-signature">
  243         <span class="method-result">bool</span>
  244         <span class="method-name">
  245             urlHostInCache
  246         </span>
  247                     (<span class="var-type"><a href="../phpcrawl/PHPCrawlerURLDescriptor.html">PHPCrawlerURLDescriptor</a></span>&nbsp;<span class="var-name">$URL</span>)
  248             </div>
  249     
  250             <ul class="parameters">
  251                     <li>
  252                 <span class="var-type"><a href="../phpcrawl/PHPCrawlerURLDescriptor.html">PHPCrawlerURLDescriptor</a></span>
  253                 <span class="var-name">$URL</span><span class="var-description">: The URL</span>            </li>
  254                 </ul>
  255         
  256             
  257     </div>
  258                         
  259         </div>
  260     </div>
  261 
  262 
  263     <p class="notes" id="credit">
  264         Documentation generated on Sun, 20 Jan 2013 21:18:50 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
  265     </p>
  266     </div></body>
  267 </html>