Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
plugin_misplaced_exception Class Reference

Misplaced plugin exception. More...

Inheritance diagram for plugin_misplaced_exception:

Public Member Functions

 __construct ($component, $expected, $current)
 Constructor.
 

Detailed Description

Misplaced plugin exception.

Note: this should be used only from the upgrade/admin code.

@subpackage upgrade

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

Constructor & Destructor Documentation

◆ __construct()

plugin_misplaced_exception::__construct ( $component,
$expected,
$current )

Constructor.

Parameters
string$componentthe component from version.php
string$expectedexpected directory, null means calculate
string$currentplugin directory path

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