doc .= "$text";
}
/**
* This are edit zone section (not HTML/Outline Section)
* @param int $level
*/
public function section_open($level)
{
$this->doc .= "";
}
public function section_close()
{
$this->doc .= "";
}
public function document_start()
{
$this->doc .= '';
$this->doc .= "";
}
public function multiplyentity($x, $y): string
{
return "$x x $y";
}
function document_end()
{
$this->doc .= "";
/**
* The result can be seen with
* doku.php?id=somepage&do=export_combo_xml
*
* Set the header temporarily for the export.php file
*
* The mode in the export is
*/
$mode = "combo_" . $this->getPluginComponent();
global $ID;
p_set_metadata(
$ID,
array("format" => array($mode => array("Content-Type" => 'application/xml'))),
false,
true // Persistence is needed because there is a cache
);
}
/**
* https://getbootstrap.com/docs/4.4/content/typography/#inline-text-elements
*/
public
function monospace_open()
{
$this->doc .= '';
}
public
function monospace_close()
{
$this->doc .= '';
}
}