[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/parser/ -> xhtml.php (summary)

Renderer for XHTML output

Author: Harry Fuecks
Author: Andreas Gohr
File Size: 1142 lines (35 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 4 files
 inc/parser/renderer.php
 inc/html.php
 inc/FeedParser.php
 inc/JpegMeta.php

Defines 1 class

Doku_Renderer_xhtml:: (82 methods):
  getFormat()
  document_start()
  document_end()
  toc_additem()
  header()
  section_edit()
  section_open()
  section_close()
  cdata()
  p_open()
  p_close()
  linebreak()
  hr()
  strong_open()
  strong_close()
  emphasis_open()
  emphasis_close()
  underline_open()
  underline_close()
  monospace_open()
  monospace_close()
  subscript_open()
  subscript_close()
  superscript_open()
  superscript_close()
  deleted_open()
  deleted_close()
  footnote_open()
  footnote_close()
  listu_open()
  listu_close()
  listo_open()
  listo_close()
  listitem_open()
  listitem_close()
  listcontent_open()
  listcontent_close()
  unformatted()
  php()
  phpblock()
  html()
  htmlblock()
  quote_open()
  quote_close()
  preformatted()
  file()
  code()
  _highlight()
  acronym()
  smiley()
  entity()
  multiplyentity()
  singlequoteopening()
  singlequoteclosing()
  apostrophe()
  doublequoteopening()
  doublequoteclosing()
  camelcaselink()
  locallink()
  internallink()
  externallink()
  interwikilink()
  windowssharelink()
  emaillink()
  internalmedia()
  externalmedia()
  rss()
  table_open()
  table_close()
  tablerow_open()
  tablerow_close()
  tableheader_open()
  tableheader_close()
  tablecell_open()
  tablecell_close()
  _formatLink()
  _media()
  _xmlEntities()
  _headerToLink()
  _getLinkTitle()
  _imageTitle()
  _getMediaLinkConf()


Class: Doku_Renderer_xhtml  - X-Ref

The Renderer

getFormat()   X-Ref
No description

document_start()   X-Ref
No description

document_end()   X-Ref
No description

toc_additem($id, $text, $level)   X-Ref
No description

header($text, $level, $pos)   X-Ref
No description

section_edit($start, $end, $level, $name)   X-Ref
Section edit marker is replaced by an edit button when
the page is editable. Replacement done in 'inc/html.php#html_secedit'

author: Andreas Gohr <andi@splitbrain.org>
author: Ben Coburn   <btcoburn@silicodon.net>

section_open($level)   X-Ref
No description

section_close()   X-Ref
No description

cdata($text)   X-Ref
No description

p_open()   X-Ref
No description

p_close()   X-Ref
No description

linebreak()   X-Ref
No description

hr()   X-Ref
No description

strong_open()   X-Ref
No description

strong_close()   X-Ref
No description

emphasis_open()   X-Ref
No description

emphasis_close()   X-Ref
No description

underline_open()   X-Ref
No description

underline_close()   X-Ref
No description

monospace_open()   X-Ref
No description

monospace_close()   X-Ref
No description

subscript_open()   X-Ref
No description

subscript_close()   X-Ref
No description

superscript_open()   X-Ref
No description

superscript_close()   X-Ref
No description

deleted_open()   X-Ref
No description

deleted_close()   X-Ref
No description

footnote_open()   X-Ref
Callback for footnote start syntax

All following content will go to the footnote instead of
the document. To achieve this the previous rendered content
is moved to $store and $doc is cleared

author: Andreas Gohr <andi@splitbrain.org>

footnote_close()   X-Ref
Callback for footnote end syntax

All rendered content is moved to the $footnotes array and the old
content is restored from $store again

author: Andreas Gohr

listu_open()   X-Ref
No description

listu_close()   X-Ref
No description

listo_open()   X-Ref
No description

listo_close()   X-Ref
No description

listitem_open($level)   X-Ref
No description

listitem_close()   X-Ref
No description

listcontent_open()   X-Ref
No description

listcontent_close()   X-Ref
No description

unformatted($text)   X-Ref
No description

php($text, $wrapper='code')   X-Ref
Execute PHP code if allowed

author: Andreas Gohr <andi@splitbrain.org>
param: string   $wrapper   html element to wrap result if $conf['phpok'] is okff

phpblock($text)   X-Ref
No description

html($text, $wrapper='code')   X-Ref
Insert HTML if allowed

author: Andreas Gohr <andi@splitbrain.org>
param: string   $wrapper   html element to wrap result if $conf['htmlok'] is okff

htmlblock($text)   X-Ref
No description

quote_open()   X-Ref
No description

quote_close()   X-Ref
No description

preformatted($text)   X-Ref
No description

file($text, $language=null, $filename=null)   X-Ref
No description

code($text, $language=null, $filename=null)   X-Ref
No description

_highlight($type, $text, $language=null, $filename=null)   X-Ref
Use GeSHi to highlight language syntax in code and file blocks

author: Andreas Gohr <andi@splitbrain.org>

acronym($acronym)   X-Ref
No description

smiley($smiley)   X-Ref
No description

entity($entity)   X-Ref
No description

multiplyentity($x, $y)   X-Ref
No description

singlequoteopening()   X-Ref
No description

singlequoteclosing()   X-Ref
No description

apostrophe()   X-Ref
No description

doublequoteopening()   X-Ref
No description

doublequoteclosing()   X-Ref
No description

camelcaselink($link)   X-Ref
No description

locallink($hash, $name = NULL)   X-Ref
No description

internallink($id, $name = NULL, $search=NULL,$returnonly=false,$linktype='content')   X-Ref
Render an internal Wiki Link

$search,$returnonly & $linktype are not for the renderer but are used
elsewhere - no need to implement them in other renderers

author: Andreas Gohr <andi@splitbrain.org>

externallink($url, $name = NULL)   X-Ref
No description

interwikilink($match, $name = NULL, $wikiName, $wikiUri)   X-Ref
No description

windowssharelink($url, $name = NULL)   X-Ref
No description

emaillink($address, $name = NULL)   X-Ref
No description

internalmedia($src, $title=NULL, $align=NULL, $width=NULL,$height=NULL, $cache=NULL, $linking=NULL)   X-Ref
No description

externalmedia($src, $title=NULL, $align=NULL, $width=NULL,$height=NULL, $cache=NULL, $linking=NULL)   X-Ref
No description

rss($url,$params)   X-Ref
Renders an RSS feed

author: Andreas Gohr <andi@splitbrain.org>

table_open($maxcols = NULL, $numrows = NULL)   X-Ref
No description

table_close()   X-Ref
No description

tablerow_open()   X-Ref
No description

tablerow_close()   X-Ref
No description

tableheader_open($colspan = 1, $align = NULL, $rowspan = 1)   X-Ref
No description

tableheader_close()   X-Ref
No description

tablecell_open($colspan = 1, $align = NULL, $rowspan = 1)   X-Ref
No description

tablecell_close()   X-Ref
No description

_formatLink($link)   X-Ref
Build a link

Assembles all parts defined in $link returns HTML for the link

author: Andreas Gohr <andi@splitbrain.org>

_media($src, $title=NULL, $align=NULL, $width=NULL,$height=NULL, $cache=NULL, $render = true)   X-Ref
Renders internal and external media

author: Andreas Gohr <andi@splitbrain.org>

_xmlEntities($string)   X-Ref
No description

_headerToLink($title,$create=false)   X-Ref
Creates a linkid from a headline

author: Andreas Gohr <andi@splitbrain.org>
param: string  $title   The headline title
param: boolean $create  Create a new unique ID?

_getLinkTitle($title, $default, & $isImage, $id=NULL, $linktype='content')   X-Ref
Construct a title and handle images in titles

author: Harry Fuecks <hfuecks@gmail.com>

_imageTitle($img)   X-Ref
Returns an HTML code for images used in link titles

author: Andreas Gohr <andi@splitbrain.org>

_getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render)   X-Ref
_getMediaLinkConf is a helperfunction to internalmedia() and externalmedia()
which returns a basic link to a media.

author: Pierre Spring <pierre.spring@liip.ch>
param: string $src
param: string $title
param: string $align
param: string $width
param: string $height
param: string $cache
param: string $render
return: array



Generated: Fri Mar 12 03:00:34 2010 Cross-referenced by PHPXref 0.7
WikiForumIRCBugsGitXRefTranslate