示例#1
0
 /**
  * WPSDVimeo function.
  * 
  * @access public
  * @return void
  */
 function WPSDVimeo()
 {
     parent::WPSDStats();
     $form = new WPSDAdminConfigForm();
     $this->un = trim($form->getWpsdVimeoUn());
     if ('' != $this->un) {
         $this->address = 'http://vimeo.com/' . $this->un;
         if ($this->isOutdated()) {
             $this->xml = $this->fetchDataRemote($this->address, true, 1, true);
             //echo $this->xml;
             $this->set();
         } else {
             $this->set_cached();
         }
     }
 }