Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
portfolio_export_exception Class Reference

Exception to throw during an export - will clean up session and tempdata. More...

Inheritance diagram for portfolio_export_exception:
portfolio_exception moodle_exception Exception

Public Member Functions

 __construct ($exporter, $errorcode, $module=null, $continue=null, $a=null)
 Constructor.
 

Public Attributes

mixed $a
 Extra words and phrases that might be required in the error string.
 
string $debuginfo
 Optional information to aid the debugging process.
 
string $errorcode
 The name of the string from error.php to print.
 
string $link
 The url where the user will be prompted to continue.
 
string $module
 The name of module.
 

Detailed Description

Exception to throw during an export - will clean up session and tempdata.

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

Constructor & Destructor Documentation

◆ __construct()

portfolio_export_exception::__construct ( $exporter,
$errorcode,
$module = null,
$continue = null,
$a = null )

Constructor.

Parameters
portfolio_exporter$exporterinstance of portfolio_exporter (will handle null case)
string$errorcodelanguage string key
string$modulelanguage string module (optional, defaults to moodle)
string$continueurl to continue to (optional, defaults to wwwroot)
object$alanguage string data (optional, defaults to null)

Reimplemented from moodle_exception.

Member Data Documentation

◆ $link

string moodle_exception::$link
inherited

The url where the user will be prompted to continue.

If no url is provided the user will be directed to the site index page.


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