Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-30659 fix phpdocs problems

  • Loading branch information...
commit 7109330e9a3a45069c015cd67dbf7a0e8629c90f 1 parent acb3bf8
Petr Skoda skodak authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 lib/outputrequirementslib.php
12 lib/outputrequirementslib.php
View
@@ -267,7 +267,7 @@ protected function add_yui2_modules() {
* Initialise with the bits of JavaScript that every Moodle page should have.
*
* @param moodle_page $page
- * @param core_renderer $output
+ * @param core_renderer $renderer
*/
protected function init_requirements_data(moodle_page $page, core_renderer $renderer) {
global $CFG;
@@ -547,7 +547,7 @@ public function js_module($module) {
/**
* Returns true if the module has already been loaded.
*
- * @param string|array $modulename
+ * @param string|array $module
* @return bool True if the module has already been loaded
*/
protected function js_module_loaded($module) {
@@ -818,7 +818,7 @@ public function js_init_code($jscode, $ondomready = false, array $module = null)
* (e.g. and array) that you pass to JavaScript with {@link data_for_js()}.
*
* @param string $identifier the desired string.
- * @param string $module the language file to look in.
+ * @param string $component the language file to look in.
* @param mixed $a any extra data to add into the string (optional).
*/
public function string_for_js($identifier, $component, $a = NULL) {
@@ -918,7 +918,8 @@ protected function get_event_handler_code() {
/**
* Get the inline JavaScript code that need to appear in a particular place.
- * @return bool $ondomready
+ * @param bool $ondomready
+ * @return string
*/
protected function get_javascript_code($ondomready) {
$where = $ondomready ? 'ondomready' : 'normal';
@@ -1045,6 +1046,7 @@ protected function get_css_code() {
/**
* Adds extra modules specified after printing of page header
+ * @return string
*/
protected function get_extra_modules_code() {
if (empty($this->extramodules)) {
@@ -1059,6 +1061,8 @@ protected function get_extra_modules_code() {
* Normally, this method is called automatically by the code that prints the
* <head> tag. You should not normally need to call it in your own code.
*
+ * @param moodle_page $page
+ * @param core_renderer $renderer
* @return string the HTML code to to inside the <head> tag.
*/
public function get_head_code(moodle_page $page, core_renderer $renderer) {
Please sign in to comment.
Something went wrong with that request. Please try again.