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

Exception thrown when someone tried to do something with a block that does not exist on a page. More...

Inheritance diagram for block_not_on_page_exception:

Public Member Functions

 __construct ($instanceid, $page)
 Constructor.
 

Detailed Description

Exception thrown when someone tried to do something with a block that does not exist on a page.

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

Constructor & Destructor Documentation

◆ __construct()

block_not_on_page_exception::__construct ( $instanceid,
$page )

Constructor.

Parameters
int$instanceidthe block instance id of the block that was looked for.
object$pagethe current page.

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