Location: PHPKode > projects > SOA For Virtuemart (WebServices) > com_vm_soa/admin/views/orders/view.html.php
<?php
/**
 * @package    	com_vm_soa (WebServices for virtuemart)
 * @author		Mickael Cabanas (cabanas.mickael|at|gmail.com)
 * @link 		http://sourceforge.net/projects/soa-virtuemart/
 * @license    	GNU/GPL
*/

defined('_JEXEC') or die();
jimport( 'joomla.application.component.view' );
class vm_soaVieworders extends JView{
  function display($tpl = null){
		JRequest::getVar('trace')->trace_it(__FILE__." display d�but", 1, 1);
	//$task 	= trim( mosGetParam( $_REQUEST, 'task', '' ));
	//$act 	= trim( mosGetParam( $_REQUEST, 'act', '' ));
	$task = JRequest::getCmd( 'task' );
	$act = JRequest::getCmd( 'act' );
// echo "<br>task = ".$task;
// echo "<br>act = ".$act;
    JToolBarHelper::title( JText::_( 'VIEW_COMP' ).JText::_( 'VIEW_ORD' ), 'generic.png' );
	JToolBarHelper::save();
	JToolBarHelper::cancel();
    $items = & $this->get( 'Data');
    $this->assignRef('items', $items);
    parent::display($tpl);
		JRequest::getVar('trace')->trace_it(__FILE__." display fin", 1, -1);
  }
}
?>
Return current item: SOA For Virtuemart (WebServices)