Obsah

INFO

Informace získané z dokuwiki

helpermethods

~~INFO:helpermethods~~

discussion plugin

Provides discussion funtionality for wiki pages

$discussion = plugin_load('helper', 'discussion');

$discussion->th()

Descriptionreturns the header of the comments column for pagelist
Return valueheaderstring

$discussion->td()

Descriptionreturns the link to the discussion section with number of comments
Parametersidstring
number of comments (optional)integer
Return valuelinkstring

$discussion->getThreads()

Descriptionreturns pages with discussion sections, sorted by recent comments
Parametersnamespacestring
number (optional)integer
Return valuepagesarray

$discussion->getComments()

Descriptionreturns recently added or edited comments individually
Parametersnamespacestring
number (optional)integer
Return valuepagesarray

$discussion->isDiscussionModerator()

Descriptioncheck if current user is member of moderator groups
Return valueisModeratorboolean

folded plugin

Foldable page sections

$folded = plugin_load('helper', 'folded');

$folded->getNextID()

DescriptionReturns the next folded ID.

include plugin

Functions to include another page in a wiki page

$include = plugin_load('helper', 'include');

$include->get_flags()

Descriptionoverrides standard values for showfooter and firstseconly settings
Parametersflagsarray

Pagelist Plugin

Lists pages in a nice formatted way

$pagelist = plugin_load('helper', 'pagelist');

$pagelist->addColumn()

Descriptionadds an extra column for plugin data
Parametersplugin namestring
column keystring

$pagelist->setFlags()

Descriptionoverrides standard values for showfooter and firstseconly settings
Parametersflagsarray
Return valuesuccessboolean

$pagelist->startList()

Descriptionprepares the table header for the page list

$pagelist->addPage()

Descriptionadds a page to the list
Parameterspage attributes, 'id' required, others optionalarray

$pagelist->finishList()

Descriptionreturns the XHTML output
Return valuexhtmlstring

Searchstats plugin (action, admin component)

This plugin records the search words and displays stats in the admin section

$searchstats = plugin_load('helper', 'searchstats');

$searchstats->getSearchWordArray()

Descriptionreturns search word array
Parametersnumber of wordsinteger
Return valuewordsarray

$searchstats->_getSaveFolder()

Descriptionreturns folder where data is saved
Return valuesavefolderstring

Tag Plugin

tag wiki pages

$tag = plugin_load('helper', 'tag');

$tag->overrideSortFlags()

Descriptiontakes an array of sortflags and overrides predefined value
Parametersnamestring

$tag->th()

Descriptionreturns the header for the tags column for pagelist
Return valueheaderstring

$tag->td()

Descriptionreturns the tag links of a given page
Parametersidstring
Return valuelinksstring

$tag->tagLinks()

Descriptiongenerates tag links for given words
Parameterstagsarray
Return valuelinksstring

$tag->getTopic()

Descriptionreturns a list of pages tagged with the given keyword
Parametersnamespace (optional)string
number (not used)integer
tag (required)string
Return valuepagesarray

$tag->tagRefine()

Descriptionrefines an array of pages with tags
Parameterspages to refinearray
refinement tagsstring
Return valuepagesarray

$tag->tagOccurrences()

Descriptionreturns a list of tags with their number of occurrences
Parameterslist of tags to get the occurrences forarray
namespaces to which the search shall be restrictedarray
if all tags shall be returned (then the first parameter is ignored)boolean
if the namespaces shall be searched recursivelyboolean
Return valuetagsarray

helperplugins

~~INFO:helperplugins~~

rendererplugins

~~INFO:rendererplugins~~

actionplugins

~~INFO:actionplugins~~

adminplugins

~~INFO:adminplugins~~

syntaxplugins

~~INFO:syntaxplugins~~

syntaxtypes

~~INFO:syntaxtypes~~

syntaxmodes

~~INFO:syntaxmodes~~
listblock10
preformatted20
notoc30
nocache40
plugin_folded_header50
plugin_include_closelastsecedit
plugin_include_editbtn
plugin_include_header
plugin_include_locallink
plugin_include_readmore
plugin_include_wrap
header
table60
strong70
emphasis80
underline90
plugin_cloud98
monospace100
subscript110
superscript120
deleted130
plugin_include_sorttag139
linebreak140
footnote150
plugin_info155
plugin_statdisplay
plugin_color158
hr160
plugin_pagelist168
unformatted170
plugin_wrap_closesection195
plugin_wrap_div
plugin_wrap_divblock
plugin_wrap_divwrap
plugin_wrap_span
plugin_wrap_spaninline
plugin_wrap_spanwrap
plugin_cellbg200
code
file210
quote220
plugin_discussion_comments230
smiley
acronym240
entity260
multiplyentity270
quotes280
plugin_tag_searchtags295
plugin_tag_topic
plugin_include_footer300
internallink
plugin_include_include303
plugin_tag_count305
plugin_tag_tag
plugin_tag_tagpage
plugin_discussion_threads306
rss310
media320
externallink330
emaillink340
windowssharelink350
eol370
plugin_sortablejs371
plugin_folded_div404
plugin_folded_span405