Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
BRIC
dokuwiki
Commits
e14fe973
Commit
e14fe973
authored
10 years ago
by
Gerrit Uitslag
Browse files
Options
Downloads
Patches
Plain Diff
add defaults to phpdocs of search universal
parent
5f785b9a
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
inc/search.php
+18
-18
18 additions, 18 deletions
inc/search.php
with
18 additions
and
18 deletions
inc/search.php
+
18
−
18
View file @
e14fe973
...
...
@@ -317,25 +317,25 @@ function pathID($path,$keeptxt=false){
* How the function behaves, depends on the options passed in the $opts
* array, where the following settings can be used.
*
* depth int recursion depth. 0 for unlimited
* keeptxt bool keep .txt extension for IDs
* listfiles bool include files in listing
* listdirs bool include namespaces in listing
* pagesonly bool restrict files to pages
* skipacl bool do not check for READ permission
* sneakyacl bool don't recurse into nonreadable dirs
* hash bool create MD5 hash for files
* meta bool return file metadata
* filematch string match files against this regexp
* idmatch string match full ID against this regexp
* dirmatch string match directory against this regexp when adding
* nsmatch string match namespace against this regexp when adding
* recmatch string match directory against this regexp when recursing
* showmsg bool warn about non-ID files
* showhidden bool show hidden files
too
* firsthead bool return first heading for pages
* depth int recursion depth. 0 for unlimited
(default: 0)
* keeptxt bool keep .txt extension for IDs
(default: false)
* listfiles bool include files in listing
(default: false)
* listdirs bool include namespaces in listing
(default: false)
* pagesonly bool restrict files to pages
(default: false)
* skipacl bool do not check for READ permission
(default: false)
* sneakyacl bool don't recurse into nonreadable dirs
(default: false)
* hash bool create MD5 hash for files
(default: false)
* meta bool return file metadata
(default: false)
* filematch string match files against this regexp
(default: '', so accept everything)
* idmatch string match full ID against this regexp
(default: '', so accept everything)
* dirmatch string match directory against this regexp when adding
(default: '', so accept everything)
* nsmatch string match namespace against this regexp when adding
(default: '', so accept everything)
* recmatch string match directory against this regexp when recursing
(default: '', so accept everything)
* showmsg bool warn about non-ID files
(default: false)
* showhidden bool show hidden files
(e.g. by hidepages config) too (default: false)
* firsthead bool return first heading for pages
(default: false)
*
* @param array &$data - Reference to the result data structure
* @param array &$data
- Reference to the result data structure
* @param string $base - Base usually $conf['datadir']
* @param string $file - current file or directory relative to $base
* @param string $type - Type either 'd' for directory or 'f' for file
...
...
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