original_string: public function set_legacy_logdata($action = '', $info = '', $url = '') {
          $fullurl = 'view.php?id=' . $this->contextinstanceid;
          if ($url != '') {
              $fullurl .= '&' . $url;
          }
  
          $this->legacylogdata = array($this->courseid, 'assign', $action, $fullurl, $info, $this->contextinstanceid);
      }
code: public function set_legacy_logdata($action = '', $info = '', $url = '') {
          $fullurl = 'view.php?id=' . $this->contextinstanceid;
          if ($url != '') {
              $fullurl .= '&' . $url;
          }
  
          $this->legacylogdata = array($this->courseid, 'assign', $action, $fullurl, $info, $this->contextinstanceid);
      }
code_tokens: public function set_legacy_logdata ( $ action = '' , $ info = '' , $ url = '' ) { $ fullurl = 'view.php?id=' . $ this -> contextinstanceid ; if ( $ url != '' ) { $ fullurl .= '&' . $ url ; } $ this -> legacylogdata = array ( $ this -> courseid , 'assign' , $ action , $ fullurl , $ info , $ this -> contextinstanceid ) ; }
docstring: Sets the legacy event log data.
  
  @param string $action The current action
  @param string $info A detailed description of the change. But no more than 255 characters.
  @param string $url The url to the assign module instance.
docstring_tokens: Sets the legacy event log data .