TplBlock/vendor/zetacomponents/document/tests/helper/rst_dummy_directives.php

29 lines
697 B
PHP
Raw Normal View History

2018-03-26 21:57:35 +02:00
<?php
class ezcDocumentTestDummyDirective extends ezcDocumentRstDirective
{
public function toDocbook( DOMDocument $document, DOMElement $root )
{
// Just do nothing
}
}
class ezcDocumentTestDummyRole extends ezcDocumentRstTextRole
{
public function toDocbook( DOMDocument $document, DOMElement $root )
{
// Just do nothing
}
}
class ezcDocumentTestDummyXhtmlDirective extends ezcDocumentRstDirective implements ezcDocumentRstXhtmlDirective
{
public function toDocbook( DOMDocument $document, DOMElement $root )
{ /* Just do nothing */ }
public function toXhtml( DOMDocument $document, DOMElement $root )
{ /* Just do nothing */ }
}
?>