/** * WPSDPinterest function. * * @access public * @return void */ function WPSDPinterest() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdPinterestUn()); if ('' != $this->un) { $this->address = 'http://pinterest.com/' . $this->un . '/'; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }