1<?php 2/** 3 * Math table (matrix) element for the Ad-Hoc MathML plugin 4 * 5 * Defines <mtable> ... </mtable> syntax 6 * More info: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable 7 * 8 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 9 * @author Sascha Leib <sascha.leib(at)kolmio.com> 10 */ 11 12class syntax_plugin_adhocmathml_mtable extends syntax_plugin_adhocmathml_abstract { 13 14 protected $tag = 'mtable'; 15 16 /** 17 * ODT Renderer Functions 18 */ 19 function renderODTElementOpen($renderer, $HTMLelement, $data) { 20 $renderer->table_open(); 21 } 22 function renderODTElementClose($renderer, $element) { 23 $renderer->table_close(); 24 } 25}