MDL-38735 backup: add missing setType() to forms

This commit is contained in:
Eloy Lafuente (stronk7)
2013-04-03 02:17:40 +02:00
parent d8201d49d8
commit 5ae69b2aed
4 changed files with 44 additions and 0 deletions
@@ -124,6 +124,16 @@ class base_setting_ui {
public function get_static_value() {
return $this->setting->get_value();
}
/**
* Gets the the PARAM_XXXX validation to be applied to the setting
*
* return string The PARAM_XXXX constant of null if the setting type is not defined
*/
public function get_param_validation() {
return $this->setting->get_param_validation();
}
/**
* Sets the label
* @param string $label