Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
core_blog_renderer Class Reference

Blog renderer. More...

Inheritance diagram for core_blog_renderer:

Public Member Functions

 render_blog_entry (blog_entry $entry)
 Renders a blog entry.
 
 render_blog_entry_attachment (blog_entry_attachment $attachment)
 Renders an entry attachment.
 

Detailed Description

Blog renderer.

Member Function Documentation

◆ render_blog_entry()

core_blog_renderer::render_blog_entry ( blog_entry $entry)

Renders a blog entry.

Parameters
blog_entry$entry
Return values
stringThe table HTML

◆ render_blog_entry_attachment()

core_blog_renderer::render_blog_entry_attachment ( blog_entry_attachment $attachment)

Renders an entry attachment.

Print link for non-images and returns images as HTML

Parameters
blog_entry_attachment$attachment
Return values
stringList of attachments depending on the $return input

The documentation for this class was generated from the following file: