Block target.
More...
|
step | $step |
| $step The step being targetted.
|
|
|
static array | $forcedsettings = [] |
| $forcedsettings The settings forced by this type.
|
|
◆ add_config_to_form()
static tool_usertours\local\target\block::add_config_to_form |
( |
\MoodleQuickForm |
$mform | ) |
|
|
static |
◆ add_disabled_constraints_to_form()
static tool_usertours\local\target\block::add_disabled_constraints_to_form |
( |
\MoodleQuickForm |
$mform | ) |
|
|
static |
◆ convert_to_css()
tool_usertours\local\target\block::convert_to_css |
( |
| ) |
|
◆ get_block_name()
tool_usertours\local\target\block::get_block_name |
( |
| ) |
|
|
protected |
Get the translated name of the block.
- Return values
-
◆ get_displayname()
tool_usertours\local\target\block::get_displayname |
( |
| ) |
|
◆ get_forced_setting_value()
tool_usertours\local\target\base::get_forced_setting_value |
( |
|
$key | ) |
|
|
inherited |
The value of the forced setting.
- Parameters
-
string | $key | The name of the key to check. |
- Return values
-
◆ get_frankenstyle()
static tool_usertours\local\target\block::get_frankenstyle |
( |
|
$block | ) |
|
|
staticprotected |
Get the frankenstyle name of the block.
- Parameters
-
string | $block | The block name. |
- Return values
-
The | frankenstyle block name. |
◆ get_value_from_form()
tool_usertours\local\target\block::get_value_from_form |
( |
|
$data | ) |
|
Fetch the targetvalue from the form for this target type.
- Parameters
-
stdClass | $data | The data submitted in the form |
- Return values
-
Reimplemented from tool_usertours\local\target\base.
◆ is_setting_forced()
tool_usertours\local\target\base::is_setting_forced |
( |
|
$key | ) |
|
|
inherited |
Whether the specified step setting is forced by this target type.
- Parameters
-
string | $key | The name of the key to check. |
- Return values
-
◆ prepare_data_for_form()
tool_usertours\local\target\block::prepare_data_for_form |
( |
|
$data | ) |
|
The documentation for this class was generated from the following file:
- admin/tool/usertours/classes/local/target/block.php