TplBlock/vendor/zetacomponents/document/tests/odt/test_classes/styler.php

24 lines
480 B
PHP
Raw Normal View History

2018-03-26 21:57:35 +02:00
<?php
class ezcDocumentOdtTestStyler implements ezcDocumentOdtStyler
{
public $odtDocument;
public $seenElements = array();
public function init( DOMDocument $odtDocument )
{
$this->odtDocument = $odtDocument;
}
public function applyStyles( ezcDocumentLocateable $docBookElement, DOMElement $odtElement )
{
$this->seenElements[] = array(
$docBookElement->tagName,
$odtElement->tagName
);
}
}
?>