Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webbasics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
webbasics
Commits
878fd68e
Commit
878fd68e
authored
12 years ago
by
Taddeus Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Updated some docs.
parent
9df0118b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
router.php
+2
-4
2 additions, 4 deletions
router.php
with
2 additions
and
4 deletions
router.php
+
2
−
4
View file @
878fd68e
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment