diff --git a/lib/setuplib.php b/lib/setuplib.php index f4c46c852c0..85c136be414 100644 --- a/lib/setuplib.php +++ b/lib/setuplib.php @@ -1319,6 +1319,12 @@ class bootstrap_renderer { return false; } + /** + * Constructor - to be used by core code only. + * @param $method + * @param $arguments + * @return string + */ public function __call($method, $arguments) { global $OUTPUT, $PAGE; @@ -1360,8 +1366,8 @@ class bootstrap_renderer { * Returns nicely formatted error message in a div box. * @static * @param string $message error message - * @param string $moreinfourl ignored - * @param string $link ignored + * @param string $moreinfourl (ignored in early errors) + * @param string $link (ignored in early errors) * @param array $backtrace * @param string $debuginfo * @return string @@ -1392,10 +1398,10 @@ width: 80%; -moz-border-radius: 20px; padding: 15px"> * This function should only be called by this class, or from exception handlers * @static * @param string $message error message - * @param string $moreinfourl - * @param string $link + * @param string $moreinfourl (ignored in early errors) + * @param string $link (ignored in early errors) * @param array $backtrace - * @param string $debuginfo + * @param string $debuginfo extra information for developers * @return string */ public static function early_error($message, $moreinfourl, $link, $backtrace, $debuginfo = null) { @@ -1462,7 +1468,7 @@ width: 80%; -moz-border-radius: 20px; padding: 15px"> * Early notification message * @static * @param $message - * @param string $classes + * @param string $classes usually notifyproblem or notifysuccess * @return string */ public static function early_notification($message, $classes = 'notifyproblem') { @@ -1472,11 +1478,11 @@ width: 80%; -moz-border-radius: 20px; padding: 15px"> /** * Page should redirect message. * @static - * @param $encodedurl + * @param $encodedurl redirect url * @return string */ public static function plain_redirect_message($encodedurl) { - $message = '
' . get_string('pageshouldredirect') . '
'. get_string('continue') .'