Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
portfolio_export_exception Class Reference
Inheritance diagram for portfolio_export_exception:
portfolio_exception moodle_exception

Public Member Functions

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

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. More...
 
string $module
 The name of module.
 

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: