Source for file Image.php
Documentation is available at Image.php
class Text_Wiki_Render_Creole_Image 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 (!strlen($options['attr']['alt']) || $options['src'] == $options['attr']['alt']) {
return '{{'. $options['src']. '}}';
return '{{'. $options['src']. '|'. $options['attr']['alt']. '}}';
Documentation generated on Mon, 11 Mar 2019 15:40:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|