1<?php 2/** 3 * Definition element syntax component for the adhoctags plugin 4 * 5 * Defines <dfn> ... </dfn> syntax 6 * More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn 7 * 8 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 9 * @author Anika Henke <anika@selfthinker.org> 10 * @author Sascha Leib <sascha.leib(at)kolmio.com> 11 */ 12 13class syntax_plugin_adhoctags_dfn extends syntax_plugin_adhoctags_abstractinline { 14 15 protected $tag = 'dfn'; 16 17 /** 18 * ODT Renderer Functions 19 */ 20 function renderODTElementOpen($renderer, $HTMLelement, $data) { 21 $renderer->emphasis_open(); 22 } 23 function renderODTElementClose($renderer, $element) { 24 $renderer->emphasis_close(); 25 } 26}