Example #1
0
 /**
  * WPSDLastFm.
  * @param string $domain
  * @param boolean $curl
  */
 function WPSDLastFm()
 {
     parent::WPSDStats();
     $form = new WPSDAdminConfigForm();
     $this->user = trim($form->getWpsdLastFmUn());
     $this->address .= $this->user;
     if ($this->isOutdated() && '' != $this->user) {
         $this->xml = $this->fetchDataRemote($this->address, false, 1, true);
         $this->set();
     } else {
         $this->set_cached();
     }
 }