[ Index ] |
|
Code source de Serendipity 1.2 |
1 <?php 2 3 class Text_Wiki_Render_Xhtml_Superscript extends Text_Wiki_Render { 4 5 var $conf = array( 6 'css' => null 7 ); 8 9 /** 10 * 11 * Renders a token into text matching the requested format. 12 * 13 * @access public 14 * 15 * @param array $options The "options" portion of the token (second 16 * element). 17 * 18 * @return string The text rendered from the token options. 19 * 20 */ 21 22 function token($options) 23 { 24 if ($options['type'] == 'start') { 25 $css = $this->formatConf(' class="%s"', 'css'); 26 return "<sup$css>"; 27 } 28 29 if ($options['type'] == 'end') { 30 return '</sup>'; 31 } 32 } 33 } 34 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |