| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Old Sites/ees_request/plugins/system/printme/ |
Upload File : |
<?php
/**
* @package Printme
* @author Dioscouri Design
* @link http://www.dioscouri.com
* @copyright Copyright (C) 2007 Dioscouri Design. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
/** ensure this file is being included by a parent file */
defined('_JEXEC') or die('Restricted access');
class plgPrintmeComContent extends JObject
{
var $_loadItem = false;
function plgPrintmeComContent()
{
parent::__construct();
}
/**
* If you want, include a custom CSS file or many
* @return void
*/
function addStyleSheet()
{
// if you want to add a custom stylesheet, using the following two lines
//$document = JFactory::getDocument();
//$document->addStyleSheet( JURI::root(true).'/path/to/your/stylesheet.css');
}
/**
* Based on the URL params,
* sets the html for this page
* so if you don't want paginated data, you can override it here
*
* @return html
*/
function setBodyHTML( $string )
{
$view = JRequest::getVar('view');
$task = JRequest::getVar('task');
$id = JRequest::getVar( 'id', JRequest::getVar( 'id', '0', 'post', 'int' ), 'get', 'int' );
// now that you know the page being viewed, set the html to whatever you want
// as a test, uncomment the next line
// $string = "HELLO WORLD! \n " . $string . "\n GOODBYE WORLD!";
return $string;
}
}