[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Ui/ -> Index.php (summary)

(no description)

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

Defines 1 class

Index:: (5 methods):
  __construct()
  show()
  sitemap()
  formatListItem()
  tagListItem()


Class: Index  - X-Ref

DokuWiki Index Interface

__construct($ns = '')   X-Ref
Index Ui constructor

param: string $ns namespace

show()   X-Ref
Display page index

author: Andreas Gohr <andi@splitbrain.org>
return: void

sitemap()   X-Ref
Build html of sitemap, unordered list of pages under the namespace

return: string

formatListItem($item)   X-Ref
Index item formatter

User function for html_buildlist()

author: Andreas Gohr <andi@splitbrain.org>
return: string
param: array $item

tagListItem($item)   X-Ref
Index List item

This user function is used in html_buildlist to build the
<li> tags for namespaces when displaying the page index
it gives different classes to opened or closed "folders"

author: Andreas Gohr <andi@splitbrain.org>
return: string html
param: array $item