Beispiel #1
0
 /**
  * WPSDHunch function.
  * 
  * @access public
  * @return void
  */
 function WPSDHunch()
 {
     parent::WPSDStats();
     $form = new WPSDAdminConfigForm();
     $this->un = trim($form->getWpsdHunchUn());
     $this->address = "http://hunch.com/{$this->un}/";
     if ($this->isOutdated()) {
         $this->xml = $this->fetchDataRemote($this->address);
         $this->set();
     } else {
         $this->set_cached();
     }
 }