Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
block_move_target Class Reference

This class represents a target for where a block can go when it is being moved. More...

Public Member Functions

 __construct (moodle_url $url)
 Constructor.
 

Public Attributes

moodle_url $url
 Move url.
 

Detailed Description

This class represents a target for where a block can go when it is being moved.

This needs to be rendered as a form with the given hidden from fields, and clicking anywhere in the form should submit it. The form action should be $PAGE->url.

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

Constructor & Destructor Documentation

◆ __construct()

block_move_target::__construct ( moodle_url $url)

Constructor.

Parameters
moodle_url$url

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