gnu-social/vendor/zetacomponents/document/tests/helper/rst_dummy_directives.php

29 lines
697 B
PHP
Raw Normal View History

2020-08-07 23:42:38 +01: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 */ }
}
?>