[ Index ]

PHP Cross Reference of DokuWiki




/inc/File/ -> PageResolver.php (summary)

(no description)

File Size: 97 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PageResolver:: (3 methods):

Class: PageResolver  - X-Ref

Creates an absolute page ID from a relative one

resolveId($id, $rev = '', $isDateAt = false)   X-Ref
Resolves a given ID to be absolute

This handles all kinds of relative shortcuts, startpages and autoplurals

resolveStartPage($id, $rev, $isDateAt)   X-Ref
IDs ending in :

return: string
param: string $id
param: string|int|false $rev
param: bool $isDateAt

resolveAutoPlural($id, $rev, $isDateAt)   X-Ref
Try alternative plural/singular form

return: string
param: string $id
param: int $rev
param: bool $isDateAt