diff options
author | chris <chris@jalakai.co.uk> | 2007-02-06 02:54:54 +0100 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2007-02-06 02:54:54 +0100 |
commit | 169c72406cf283b0bb8c7e6ec8ee17e6e0be4f8b (patch) | |
tree | 1b5a1147cbdb20388a43e00893752460836a84ea /inc/parser/parser.php | |
parent | e7856bea477397d242c532d448a8ade3f4014c68 (diff) | |
download | rpg-169c72406cf283b0bb8c7e6ec8ee17e6e0be4f8b.tar.gz rpg-169c72406cf283b0bb8c7e6ec8ee17e6e0be4f8b.tar.bz2 |
refactor xhtml TOC creation into a class function, FS#1058
- changed inc/parser/xhtml.php, render_TOC() function
it now takes a toc array as a parameter
- refactor render_TOC() and _tocitem() into static class functions
The xhtml renderer can build its TOC using $this->render_TOC($this->toc)
Templates can create a separate TOC using
echo Doku_Renderer_xhtml::render_TOC(p_get_metadata($ID, 'description
tableofcontents'));
darcs-hash:20070206015454-9b6ab-b3bd7ff772b756f8aaf496cb319eb73994cdbd94.gz
Diffstat (limited to 'inc/parser/parser.php')
0 files changed, 0 insertions, 0 deletions