Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
assign_files Class Reference

An assign file class that extends rendererable class and is used by the assign module. More...

Inheritance diagram for assign_files:
renderable

Public Member Functions

 __construct (context $context, $sid, $filearea, $component)
 The constructor. More...
 
 preprocess ($dir, $filearea, $component)
 Preprocessing the file list to add the portfolio links if required. More...
 

Public Attributes

stdClass $cm
 $cm course module
 
context $context
 $context
 
stdClass $course
 $course
 
string $dir
 $context
 
MoodleQuickForm $portfolioform
 $portfolioform
 

Detailed Description

An assign file class that extends rendererable class and is used by the assign module.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

assign_files::__construct ( context  $context,
  $sid,
  $filearea,
  $component 
)

The constructor.

Parameters
context$context
int$sid
string$filearea
string$component

Member Function Documentation

◆ preprocess()

assign_files::preprocess (   $dir,
  $filearea,
  $component 
)

Preprocessing the file list to add the portfolio links if required.

Parameters
array$dir
string$filearea
string$component
Return values
void

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