original_string: public function get_link($reference) {
          $reference = unserialize(self::convert_to_valid_reference($reference));
          $shareinfo = $this->boxnetclient->share_file($reference->fileid, false);
          return $shareinfo->url;
      }
code: public function get_link($reference) {
          $reference = unserialize(self::convert_to_valid_reference($reference));
          $shareinfo = $this->boxnetclient->share_file($reference->fileid, false);
          return $shareinfo->url;
      }
code_tokens: public function get_link ( $ reference ) { $ reference = unserialize ( self :: convert_to_valid_reference ( $ reference ) ) ; $ shareinfo = $ this -> boxnetclient -> share_file ( $ reference -> fileid , false ) ; return $ shareinfo -> url ; }
docstring: Get a link to the file.
  
  This returns the URL of the web view of the file. To generate this link the
  file must be shared.
  
  @param stdClass $reference Reference.
  @return string URL.
docstring_tokens: Get a link to the file .