Source for file Url.php
Documentation is available at Url.php
class Text_Wiki_Render_Tiki_Url 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.
if ($options['type'] == 'start') {
if (! strlen($options['text']) || $options['href'] == $options['text']) {
return '['. $options['href'];
return '['. $options['href']. '|';
else if ($options['type'] == 'end') {
if (! strlen($options['text']) || $options['href'] == $options['text']) {
return '['. $options['href']. ']';
return '['. $options['href']. '|'. $options['text']. ']';
Documentation generated on Mon, 11 Mar 2019 15:32:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|