1<?php 2// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: 3/** 4 * Parse structured wiki text and render into arbitrary formats such as XHTML. 5 * This is the Text_Wiki extension for Cowiki markup 6 * 7 * PHP versions 4 and 5 8 * 9 * @category Text 10 * @package Text_Wiki 11 * @author Justin Patrin <papercrane@reversefold.com> 12 * @author Bertrand Gugger <bertrand@toggg.com> 13 * @author Paul M. Jones <pmjones@php.net> 14 * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 15 * @version CVS: $Id$ 16 * @link http://pear.php.net/package/Text_Wiki 17 */ 18 19/** 20 * "master" class for handling the management and convenience 21 */ 22require_once('Text/Wiki.php'); 23 24/** 25 * Base Text_Wiki handler class extension for Cowiki markup 26 * 27 * @category Text 28 * @package Text_Wiki 29 * @author Justin Patrin <papercrane@reversefold.com> 30 * @author Bertrand Gugger <bertrand@toggg.com> 31 * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 32 * @version Release: @package_version@ 33 * @link http://pear.php.net/package/Text_Wiki 34 * @see Text_Wiki::Text_Wiki() 35 */ 36class Text_Wiki_Cowiki extends Text_Wiki { 37 38 function __construct() { 39 parent::__construct(); 40 $paths = $this->getPath('parse'); 41 $this->addPath('parse', str_replace('Default', 'Cowiki', $paths[0])); 42 } 43} 44