mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #22 - Added PHPDocs.
This commit is contained in:
@@ -128,6 +128,11 @@ class maintenance_static_page_test extends auth_outage_base_testcase {
|
||||
self::assertContains('http://www.example.com/moodle/auth/outage/maintenance.php?file=preview%2F', $generated);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates the maintenance page (not using preview mode).
|
||||
* @param string $html Input HTML.
|
||||
* @return string Output HTML.
|
||||
*/
|
||||
private function generated_page_html($html) {
|
||||
$page = maintenance_static_page::create_from_html($html);
|
||||
$page->generate();
|
||||
|
||||
Reference in New Issue
Block a user