Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
blog_entry_attachment Class Reference

Renderable class to represent an entry attachment. More...

Inheritance diagram for blog_entry_attachment:
renderable

Public Member Functions

 __construct ($file, $entryid)
 Gets the file data. More...
 

Public Attributes

 $file
 
 $filename
 
 $url
 

Detailed Description

Renderable class to represent an entry attachment.

Constructor & Destructor Documentation

◆ __construct()

blog_entry_attachment::__construct (   $file,
  $entryid 
)

Gets the file data.

Parameters
stored_file$file
int$entryidAttachment entry id

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