Source for file Function.php
Documentation is available at Function.php
class Text_Wiki_Render_Xhtml_Function extends Text_Wiki_Render {
'name' => '<strong>%s</strong>',
'descr' => '<em>%s</em>',
'default' => 'default %s'
* 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
$css = $this->formatConf (' class="%s"', $this->conf['css_div']);
$output .= sprintf($this->conf['access'], $access) . ' ';
$output .= sprintf($this->conf['return'], $return) . ' ';
$output .= sprintf($this->conf['name'], $name) . ' ( ';
foreach ($params as $key => $val) {
$tmp = sprintf($this->conf['type'], $val['type']) . ' ';
$tmp .= sprintf($this->conf['descr'], $val['descr']);
$tmp .= ' ' . sprintf($this->conf['default'], $val['default']);
$output .= implode(', ', $list) . " )</div>";
Documentation generated on Mon, 11 Mar 2019 13:56:09 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|