rst_dummy_directives.php 697 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. class ezcDocumentTestDummyDirective extends ezcDocumentRstDirective
  3. {
  4. public function toDocbook( DOMDocument $document, DOMElement $root )
  5. {
  6. // Just do nothing
  7. }
  8. }
  9. class ezcDocumentTestDummyRole extends ezcDocumentRstTextRole
  10. {
  11. public function toDocbook( DOMDocument $document, DOMElement $root )
  12. {
  13. // Just do nothing
  14. }
  15. }
  16. class ezcDocumentTestDummyXhtmlDirective extends ezcDocumentRstDirective implements ezcDocumentRstXhtmlDirective
  17. {
  18. public function toDocbook( DOMDocument $document, DOMElement $root )
  19. { /* Just do nothing */ }
  20. public function toXhtml( DOMDocument $document, DOMElement $root )
  21. { /* Just do nothing */ }
  22. }
  23. ?>