mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
20 lines
346 B
PHP
20 lines
346 B
PHP
<?php
|
|
|
|
class RawDisplayHandler
|
|
{
|
|
function toDoc($oModule)
|
|
{
|
|
$tpl_path = $oModule->getTemplatePath();
|
|
$tpl_file = $oModule->getTemplateFile();
|
|
if ($tpl_path && $tpl_file)
|
|
{
|
|
$oTemplate = new Rhymix\Framework\Template($tpl_path, $tpl_file);
|
|
$output = $oTemplate->compile();
|
|
}
|
|
else
|
|
{
|
|
$output = '';
|
|
}
|
|
return $output;
|
|
}
|
|
}
|