public function col_eventname($event) {
        // Event name.
        if ($this->filterparams->logreader instanceof logstore_legacy\log\store) {
            // Hack for support of logstore_legacy.
            $eventname = $event->eventname;
        } else {
            $eventname = $event->get_name();
        }
        if ($url = $event->get_url()) {
            $eventname = $this->action_link($url, $eventname, 'action');
        }
        return $eventname;
    }
public function col_eventname($event) {
        // Event name.
        if ($this->filterparams->logreader instanceof logstore_legacy\log\store) {
            // Hack for support of logstore_legacy.
            $eventname = $event->eventname;
        } else {
            $eventname = $event->get_name();
        }
        if ($url = $event->get_url()) {
            $eventname = $this->action_link($url, $eventname, 'action');
        }
        return $eventname;
    }
public function col_eventname ( $ event ) { // Event name. if ( $ this -> filterparams -> logreader instanceof logstore_legacy \ log \ store ) { // Hack for support of logstore_legacy. $ eventname = $ event -> eventname ; } else { $ eventname = $ event -> get_name ( ) ; } if ( $ url = $ event -> get_url ( ) ) { $ eventname = $ this -> action_link ( $ url , $ eventname , 'action' ) ; } return $ eventname ; }
Generate the event name column.

@param stdClass $event event data.
@return string HTML for the event name column
Generate the event name column .