mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-15666 new unit test for new button class
This commit is contained in:
parent
d1581fc53b
commit
ef6f0f603d
2 changed files with 96 additions and 0 deletions
|
@ -275,6 +275,38 @@ class portfolio_add_button {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for $format property
|
||||
* @return array
|
||||
*/
|
||||
public function get_formats() {
|
||||
return $this->formats;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for $callbackargs property
|
||||
* @return array
|
||||
*/
|
||||
public function get_callbackargs() {
|
||||
return $this->callbackargs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for $callbackfile property
|
||||
* @return array
|
||||
*/
|
||||
public function get_callbackfile() {
|
||||
return $this->callbackfile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for $callbackclass property
|
||||
* @return array
|
||||
*/
|
||||
public function get_callbackclass() {
|
||||
return $this->callbackclass;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue