Пример #1
0
 public static function getProfilePublicUrlByProfileID($profileID)
 {
     if ($profileID) {
         $socialProfileID = self::getProfileSocialID($profileID);
         if ($socialProfileID) {
             $aSoc = explode('linkedin_', $socialProfileID);
             if (is_array($aSoc)) {
                 return LinkedinSocialPlugin::getProfilePublicUrlByProfileLinkedinID($aSoc[1]);
             }
         }
     }
     return null;
 }