* $document = new ezcDocumentConfluenceWiki(); * $document->loadString( ' * = Example text = * * Just some exaple paragraph with a heading, some **emphasis** markup and a * [[http://ezcomponents.org|link]].' ); * * $docbook = $document->getAsDocbook(); * echo $docbook->save(); * * * A converter for the conversion from docbook back to confluence wiki markup * has not yet been implemented. * * @package Document * @version 1.3alpha1 * @mainclass */ class ezcDocumentConfluenceWiki extends ezcDocumentWiki { /** * Construct RST document. * * @ignore * @param ezcDocumentWikiOptions $options * @return void */ public function __construct( ezcDocumentWikiOptions $options = null ) { parent::__construct( $options === null ? new ezcDocumentWikiOptions() : $options ); $this->options->tokenizer = new ezcDocumentWikiConfluenceTokenizer(); } /** * Create document from docbook document * * A document of the docbook format is provided and the internal document * structure should be created out of this. * * This method is required for all formats to have one central format, so * that each format can be compiled into each other format using docbook as * an intermediate format. * * You may of course just call an existing converter for this conversion. * * @param ezcDocumentDocbook $document * @return void */ public function createFromDocbook( ezcDocumentDocbook $document ) { throw new ezcDocumentMissingVisitorException( get_class( $document ) ); } } ?>