File : j16000dummy_third_party_plugin.class.php

<?php
// ################################################################
defined( '_JOMRES_INITCHECK' ) or die( '' );
// ################################################################
 
class j16000dummy_third_party_plugin
{
function j16000dummy_third_party_plugin()
{
// Must be in all minicomponents. Minicomponents with templates that can contain editable text should run $this->template_touch() else just return
$MiniComponents =jomres_getSingleton('mcHandler');
if ($MiniComponents->template_touch)
{
$this->template_touchable=false; return;
}
$ePointFilepath = get_showtime('ePointFilepath');
$output = array();
$output['HELLO_WORLD']=jr_gettext('_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE2',_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE2);
 
$pageoutput[]=$output;
$tmpl = new patTemplate();
$tmpl->setRoot($ePointFilepath.'templates' );
$tmpl->readTemplatesFromInput( 'admin_dummy_third_party_plugin.html');
$tmpl->addRows( 'pageoutput',$pageoutput);
$tmpl->displayParsedTemplate();
}
 
 
// This must be included in every Event/Mini-component
function getRetVals()
{
return null;
}
 
}
This document is copyright Vince Wooll/Woollyinwales IT, 2011. All rights reserved.