1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/vendor/Text/Wiki/Render/Plain/Url.php

29 lines
554 B
PHP
Raw Normal View History

2007-02-23 00:41:25 +03:00
<?php
class Text_Wiki_Render_Plain_Url extends Text_Wiki_Render {
2007-02-23 00:41:25 +03:00
/**
*
2007-02-23 00:41:25 +03:00
* Renders a token into text matching the requested format.
*
2007-02-23 00:41:25 +03:00
* @access public
*
2007-02-23 00:41:25 +03:00
* @param array $options The "options" portion of the token (second
* element).
*
2007-02-23 00:41:25 +03:00
* @return string The text rendered from the token options.
*
2007-02-23 00:41:25 +03:00
*/
2007-02-23 00:41:25 +03:00
function token($options)
{
if ($options['type'] == 'start' || $options['type'] == 'end') {
return '';
} else {
return $options['text'];
}
2007-02-23 00:41:25 +03:00
}
}
?>