Source for file Image.php
Documentation is available at Image.php
class Text_Wiki_Render_Tiki_Image extends Text_Wiki_Render {
* Defines rule specific configuration
'prefix' => 'img/wiki_up/' // path to the wiki image directory
* 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 (!empty ($this->conf['prefix']))
$img .= $this->conf['prefix'];
$img .= $options['src'] . '"';
foreach ($options['attr'] as $var => $val) {
$img .= ' '. $var. '="'. $val. '"';
Documentation generated on Mon, 11 Mar 2019 15:32:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|