public static function render_tourname_inplace_editable(tour $tour) {
        return new \core\output\inplace_editable(
                'tool_usertours',
                'tourname',
                $tour->get_id(),
                true,
                \html_writer::link(
                    $tour->get_view_link(),
                    $tour->get_name()
                ),
                $tour->get_name()
            );
    }
public static function render_tourname_inplace_editable(tour $tour) {
        return new \core\output\inplace_editable(
                'tool_usertours',
                'tourname',
                $tour->get_id(),
                true,
                \html_writer::link(
                    $tour->get_view_link(),
                    $tour->get_name()
                ),
                $tour->get_name()
            );
    }
public static function render_tourname_inplace_editable ( tour $ tour ) { return new \ core \ output \ inplace_editable ( 'tool_usertours' , 'tourname' , $ tour -> get_id ( ) , true , \ html_writer :: link ( $ tour -> get_view_link ( ) , $ tour -> get_name ( ) ) , $ tour -> get_name ( ) ) ; }
Render the inplace editable used to edit the tour name.

@param   tour        $tour       The tour to edit.
@return  string
Render the inplace editable used to edit the tour name .