1<?php 2// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: 3/** 4 * Break rule end renderer for Docbook 5 * 6 * PHP versions 4 and 5 7 * 8 * @category Text 9 * @package Text_Wiki_Docbook 10 * @author bertrand Gugger <bertrand@toggg.com> 11 * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 12 * @version CVS: $Id$ 13 * @link http://pear.php.net/package/Text_Wiki_Docbook 14 */ 15 16/** 17 * This class renders line breaks in DocBook. 18 * 19 * @category Text 20 * @package Text_Wiki_Docbook 21 * @author bertrand Gugger <bertrand@toggg.com> 22 * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 23 * @version Release: @package_version@ 24 * @link http://pear.php.net/package/Text_Wiki_Docbook 25 */ 26class Text_Wiki_Render_Docbook_Break extends Text_Wiki_Render { 27 28 /** 29 * 30 * Renders a token into text matching the requested format. 31 * 32 * @access public 33 * 34 * @param array $options The "options" portion of the token (second 35 * element). 36 * 37 * @return string The text rendered from the token options. 38 * 39 */ 40 41 function token($options) 42 { 43 return "<literallayout>\n</literallayout>"; 44 } 45} 46 47?> 48