Example #1
0
 /**
  * WPSDLinkedIn.
  * 
  * @param string $domain
  * @param boolean $curl
  */
 function WPSDLinkedIn($curl = false)
 {
     parent::WPSDStats();
     $form = new WPSDAdminConfigForm();
     $this->un = trim($form->getWpsdLinkedInUn());
     $this->un_company = trim($form->getWpsdLinkedInCompanyUn());
     if ('' != $this->un_company) {
         $this->address_company = 'http://www.linkedin.com/company/' . $this->un_company;
     }
     if ('' != $this->un) {
         $this->address = 'http://www.linkedin.com/in/' . $this->un;
         if ($this->isOutdated()) {
             $this->set();
         } else {
             $this->set_cached();
         }
     }
 }