Source for file Function.php
Documentation is available at Function.php
// $Id: Function.php,v 1.1 2005/07/21 20:56:15 justinpatrin Exp $
class Text_Wiki_Render_Doku_Function extends Text_Wiki_Render {
* Renders a token into text matching the requested format.
* @param array $options The "options" portion of the token (second
* @return string The text rendered from the token options.
extract($options); // name, access, return, params, throws
// build the baseline output
$output = $this->conf['format_main'];
// build the set of params
foreach ($params as $key => $val) {
// is there a default value?
$tmp = $this->conf['format_paramd'];
$tmp = $this->conf['format_param'];
// add the param elements
// insert params into output
$tmp = implode($this->conf['list_sep'], $list);
// build the set of throws
foreach ($throws as $key => $val) {
$tmp = $this->conf['format_throws'];
// insert throws into output
$tmp = implode($this->conf['list_sep'], $list);
// close the div and return the output
Documentation generated on Mon, 11 Mar 2019 14:12:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|