TplBlock/vendor/zetacomponents/document/tests/odt/test_classes/styler.php
2018-03-26 21:57:35 +02:00

24 lines
480 B
PHP

<?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
);
}
}
?>