Ver código fonte

Updated some docs.

Taddeus Kroes 13 anos atrás
pai
commit
878fd68eee
1 arquivos alterados com 2 adições e 4 exclusões
  1. 2 4
      router.php

+ 2 - 4
router.php

@@ -81,10 +81,8 @@ class Router extends Base {
 	 * function adds '%^' at the begin and '$%' at the end of the pattern as
 	 * delimiters.
 	 * 
-	 * The handler function must receive no arguments if the regex pattern
-	 * does not contain groups (which are contained in parentheses). If there
-	 * are groups, the matches for these are passed to the handler fucntion in
-	 * an array.
+	 * Any matches for groups in the pattern (which are contained in
+	 * parentheses), the matches for these are passed to the handler function.
 	 * 
 	 * @param string $pattern A regex pattern to mach URL's against.
 	 * @param mixed $handler The handler function to call when $pattern is matched.