%PDF- %PDF-
| Direktori : /home/lightco1/luminero.com.au/components/com_virtuemart/views/pdf/ |
| Current File : /home/lightco1/luminero.com.au/components/com_virtuemart/views/pdf/view.raw.php |
<?php
/**
*
* Description
*
* @package VirtueMart
* @subpackage
* @author P.Kohl
* @link ${PHING.VM.MAINTAINERURL}
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: view.pdf.php 5320 2012-01-25 14:28:40Z Electrocity $
*/
defined('_JEXEC') or die;
if(!class_exists('VmView'))require(VMPATH_SITE.DS.'helpers'.DS.'vmview.php');
class VirtueMartViewRaw extends VmView
{
function display($tpl = 'pdf')
{
$type='raw';
$this->assignRef('type', $type);
$viewName = vRequest::getCmd('view','productdetails');
$class= 'VirtueMartView'.ucfirst($viewName);
if(!class_exists($class)) require(VMPATH_SITE.DS.'views'.DS.$viewName.DS.'view.html.php');
$view = new $class ;
$view->display($tpl);
}
}