Exemplo n.º 1
0
 /**
  * WPSDSphinn.
  */
 function WPSDSphinn()
 {
     parent::WPSDStats();
     $form = new WPSDAdminConfigForm();
     $this->un = trim($form->getWpsdSphinnUn());
     if ('' != $this->un) {
         $this->address = 'http://sphinn.com/user/' . $this->un;
         if ($this->isOutdated()) {
             $this->xml = $this->fetchDataRemote($this->address);
             $this->set();
         } else {
             $this->set_cached();
         }
     }
 }