#88 Make plugins DB codechecker happy
This commit is contained in:
parent
db879187bf
commit
fdc5bde3d4
54 changed files with 760 additions and 395 deletions
|
@ -77,6 +77,12 @@ class verify_certificate_result implements templatable, renderable {
|
|||
$this->certificatename = $result->certificatename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to export the renderer data in a format that is suitable for a mustache template.
|
||||
*
|
||||
* @param \renderer_base $output Used to do a final render of any components that need to be rendered for export.
|
||||
* @return \stdClass|array
|
||||
*/
|
||||
public function export_for_template(\renderer_base $output) {
|
||||
$result = new \stdClass();
|
||||
$result->userprofileurl = $this->userprofileurl;
|
||||
|
|
|
@ -68,6 +68,12 @@ class verify_certificate_results implements templatable, renderable {
|
|||
$this->issues = $result->issues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to export the renderer data in a format that is suitable for a mustache template.
|
||||
*
|
||||
* @param \renderer_base $output Used to do a final render of any components that need to be rendered for export.
|
||||
* @return \stdClass|array
|
||||
*/
|
||||
public function export_for_template(\renderer_base $output) {
|
||||
$result = new \stdClass();
|
||||
$result->success = $this->success;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue