Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
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:

Public Member Functions

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

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,
  $course = null,
  $cm = null 
)

The constructor.

Parameters
context$context
int$sid
string$filearea
string$component
stdClass$course
stdClass$cm

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: