}
/**
- * Implement interface method.
+ * Implement interface method.
* @param string $iconname the name of the icon.
* @return string the URL for that icon.
*/
}
/**
- * Implement interface method.
+ * Implement interface method.
* @param string $iconname the name of the icon.
* @param string $module the module the icon belongs to.
* @return string the URL for that icon.
}
/**
- * Implement interface method.
+ * Implement interface method.
* @param string $iconname the name of the icon.
* @return string the URL for that icon.
*/
}
/**
- * Implement interface method.
+ * Implement interface method.
* @param string $iconname the name of the icon.
* @param string $module the module the icon belongs to.
* @return string the URL for that icon.
}
/**
- * Implement interface method.
+ * Implement interface method.
* @param string $iconname the name of the icon.
* @return string the URL for that icon.
*/
}
/**
- * Implement interface method.
+ * Implement interface method.
* @param string $iconname the name of the icon.
* @param string $module the module the icon belongs to.
* @return string the URL for that icon.
}
return $output;
}
-
+
/**
* Given an array or space-separated list of classes, prepares and returns the HTML class attribute value
* @param mixed $classes Space-separated string or array of classes
$container = array_pop($this->opencontainers);
echo $container->closehtml;
}
-
+
/**
* Adds an entry to the log.
* @param string $action The name of the action
$this->log[] = '<li>' . $action . ' ' . $type . ' at:' .
format_backtrace(debug_backtrace()) . '</li>';
}
-
+
/**
* Outputs the log's contents as a HTML list.
* @return string HTML list of the log
$this->page->set_state(moodle_page::STATE_IN_BODY);
return $header . $this->skip_link_target();
}
-
+
/**
* Renders and outputs the page template.
* @param string $templatefile The name of the template's file
return $output;
}
-
+
/**
* Outputs the page's footer
* @return string HTML fragment
$this->init_block_hider_js($bc);
return $output;
}
-
+
/**
* Calls the JS require function to hide a block.
* @param block_contents $bc A block_contents object
/**
* Returns the page header.
* @return string HTML fragment
- */
+ */
public function header() {
output_starting_hook();
return $this->page->heading . "\n";
}
-
+
/**
* Returns a template fragment representing a Heading.
* @param string $text The text of the heading
* @param string $classes A space-separated list of CSS classes
* @param string $id An optional ID
* @return string A template fragment for a heading
- */
+ */
public function heading($text, $level, $classes = 'main', $id = '') {
$text .= "\n";
switch ($level) {
}
}
}
-
+
/**
* Returns a template fragment representing a notification.
* @param string $message The message to include