Location: PHPKode > projects > SOA For Virtuemart (WebServices) > com_vm_soa/admin/models/vm_soa.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
*/
jimport( 'joomla.application.component.model' );
class vm_soaModelvm_soa extends JModel
{
	function save_conf()
	{
		JRequest::getVar('trace')->trace_it(__FILE__." save_conf d�but", 1, 1);
//$a=JRequest::get();
$conf=JRequest::getVar('conf');
/* echo "<hr>";
echo "<pre>";
print_r($conf);
echo "</pre>";
echo "<hr>";
 */		
 //var_dump($conf);
 
		$fd=fopen(	JPATH_COMPONENT.DS."vm_soa_conf.php", "w");
		fwrite($fd,"<?php\n");
		fwrite($fd,"\$conf['version']='1.5.2';\n");
		fwrite($fd,"\$conf['author']='Mickael Cabanas';\n");
		fwrite($fd,"\$conf['URL']='".$conf['URL']."';\n");
		fwrite($fd,"\$conf['BASESITE']='".$conf['BASESITE']."';\n");
		fwrite($fd,"\$conf['wsdl_product']='".$conf['wsdl_product']."';\n");
		fwrite($fd,"\$conf['EP_product']='".$conf['EP_product']."';\n");
		if (empty($conf['product_cache'])) $conf['product_cache'] = "off";
		fwrite($fd,"\$conf['product_cache']='".$conf['product_cache']."';\n");
		if (empty($conf['product_actif'])) $conf['product_actif'] = "off";
		fwrite($fd,"\$conf['product_actif']='".$conf['product_actif']."';\n");
		fwrite($fd,"\$conf['wsdl_cat']='".$conf['wsdl_cat']."';\n");
		fwrite($fd,"\$conf['EP_cat']='".$conf['EP_cat']."';\n");
		if (empty($conf['cat_cache'])) $conf['cat_cache'] = "off";
		fwrite($fd,"\$conf['cat_cache']='".$conf['cat_cache']."';\n");
		if (empty($conf['cat_actif'])) $conf['cat_actif'] = "off";
		fwrite($fd,"\$conf['cat_actif']='".$conf['cat_actif']."';\n");
		fwrite($fd,"\$conf['wsdl_order']='".$conf['wsdl_order']."';\n");
		fwrite($fd,"\$conf['EP_order']='".$conf['EP_order']."';\n");
		if (empty($conf['order_cache'])) $conf['order_cache'] = "off";
		fwrite($fd,"\$conf['order_cache']='".$conf['order_cache']."';\n");
		if (empty($conf['order_actif'])) $conf['order_actif'] = "off";
		fwrite($fd,"\$conf['order_actif']='".$conf['order_actif']."';\n");
		fwrite($fd,"\$conf['wsdl_sql']='".$conf['wsdl_sql']."';\n");
		fwrite($fd,"\$conf['EP_sql']='".$conf['EP_sql']."';\n");
		if (empty($conf['querie_cache'])) $conf['querie_cache'] = "off";
		fwrite($fd,"\$conf['querie_cache']='".$conf['querie_cache']."';\n");
		if (empty($conf['querie_actif'])) $conf['querie_actif'] = "off";
		fwrite($fd,"\$conf['querie_actif']='".$conf['querie_actif']."';\n");
		fwrite($fd,"\$conf['wsdl_users']='".$conf['wsdl_users']."';\n");
		fwrite($fd,"\$conf['EP_users']='".$conf['EP_users']."';\n");
		if (empty($conf['users_cache'])) $conf['users_cache'] = "off";
		fwrite($fd,"\$conf['users_cache']='".$conf['users_cache']."';\n");
		if (empty($conf['users_actif'])) $conf['users_actif'] = "off";
		fwrite($fd,"\$conf['users_actif']='".$conf['users_actif']."';\n");
		fwrite($fd,"\$conf['trace']='".$conf['trace']."';\n");
		fwrite($fd,"\$conf['remove']='".$conf['remove']."';\n");
		fwrite($fd,"\$conf['soap_version']='".$conf['soap_version']."';\n");

		if (empty($conf['auth_cat_getall'])) $conf['auth_cat_getall'] = "off";
		fwrite($fd,"\$conf['auth_cat_getall']='".$conf['auth_cat_getall']."';\n");
		if (empty($conf['auth_cat_getchild'])) $conf['auth_cat_getchild'] = "off";
		fwrite($fd,"\$conf['auth_cat_getchild']='".$conf['auth_cat_getchild']."';\n");
		if (empty($conf['auth_cat_addcat'])) $conf['auth_cat_addcat'] = "off";
		fwrite($fd,"\$conf['auth_cat_addcat']='".$conf['auth_cat_addcat']."';\n");
		if (empty($conf['auth_cat_delcat'])) $conf['auth_cat_delcat'] = "off";
		fwrite($fd,"\$conf['auth_cat_delcat']='".$conf['auth_cat_delcat']."';\n");
		if (empty($conf['auth_cat_getimg'])) $conf['auth_cat_getimg'] = "off";
		fwrite($fd,"\$conf['auth_cat_getimg']='".$conf['auth_cat_getimg']."';\n");
		if (empty($conf['auth_cat_updatecat'])) $conf['auth_cat_updatecat'] = "off";
		fwrite($fd,"\$conf['auth_cat_updatecat']='".$conf['auth_cat_updatecat']."';\n");
		
		if (empty($conf['auth_users_getall'])) $conf['auth_users_getall'] = "off";
		fwrite($fd,"\$conf['auth_users_getall']='".$conf['auth_users_getall']."';\n");
		if (empty($conf['auth_users_adduser'])) $conf['auth_users_adduser'] = "off";
		fwrite($fd,"\$conf['auth_users_adduser']='".$conf['auth_users_adduser']."';\n");
		if (empty($conf['auth_users_deluser'])) $conf['auth_users_deluser'] = "off";
		fwrite($fd,"\$conf['auth_users_deluser']='".$conf['auth_users_deluser']."';\n");
		if (empty($conf['auth_users_sendmail'])) $conf['auth_users_sendmail'] = "off";
		fwrite($fd,"\$conf['auth_users_sendmail']='".$conf['auth_users_sendmail']."';\n");
		if (empty($conf['auth_users_search'])) $conf['auth_users_search'] = "off";
		fwrite($fd,"\$conf['auth_users_search']='".$conf['auth_users_search']."';\n");
		if (empty($conf['auth_users_getcountry'])) $conf['auth_users_getcountry'] = "off";
		fwrite($fd,"\$conf['auth_users_getcountry']='".$conf['auth_users_getcountry']."';\n");
		if (empty($conf['auth_users_getauthgrp'])) $conf['auth_users_getauthgrp'] = "off";
		fwrite($fd,"\$conf['auth_users_getauthgrp']='".$conf['auth_users_getauthgrp']."';\n");
		if (empty($conf['auth_users_addautgrp'])) $conf['auth_users_addautgrp'] = "off";
		fwrite($fd,"\$conf['auth_users_addautgrp']='".$conf['auth_users_addautgrp']."';\n");
		if (empty($conf['auth_users_delauthgrp'])) $conf['auth_users_delauthgrp'] = "off";
		fwrite($fd,"\$conf['auth_users_delauthgrp']='".$conf['auth_users_delauthgrp']."';\n");
		if (empty($conf['auth_users_getstate'])) $conf['auth_users_getstate'] = "off";
		fwrite($fd,"\$conf['auth_users_getstate']='".$conf['auth_users_getstate']."';\n");
		if (empty($conf['auth_users_addstate'])) $conf['auth_users_addstate'] = "off";
		fwrite($fd,"\$conf['auth_users_addstate']='".$conf['auth_users_addstate']."';\n");
		if (empty($conf['auth_users_delstate'])) $conf['auth_users_delstate'] = "off";
		fwrite($fd,"\$conf['auth_users_delstate']='".$conf['auth_users_delstate']."';\n");
		if (empty($conf['auth_users_getshopgrp'])) $conf['auth_users_getshopgrp'] = "off";
		fwrite($fd,"\$conf['auth_users_getshopgrp']='".$conf['auth_users_getshopgrp']."';\n");
		if (empty($conf['auth_users_addshopgrp'])) $conf['auth_users_addshopgrp'] = "off";
		fwrite($fd,"\$conf['auth_users_addshopgrp']='".$conf['auth_users_addshopgrp']."';\n");
		if (empty($conf['auth_users_upshopgrp'])) $conf['auth_users_upshopgrp'] = "off";
		fwrite($fd,"\$conf['auth_users_upshopgrp']='".$conf['auth_users_upshopgrp']."';\n");
		if (empty($conf['auth_users_delshopgroup'])) $conf['auth_users_delshopgroup'] = "off";
		fwrite($fd,"\$conf['auth_users_delshopgroup']='".$conf['auth_users_delshopgroup']."';\n");
		if (empty($conf['auth_users_upuser'])) $conf['auth_users_upuser'] = "off";
		fwrite($fd,"\$conf['auth_users_upuser']='".$conf['auth_users_upuser']."';\n");
		if (empty($conf['auth_users_getvendor'])) $conf['auth_users_getvendor'] = "off";
		fwrite($fd,"\$conf['auth_users_getvendor']='".$conf['auth_users_getvendor']."';\n");
		if (empty($conf['auth_users_addvendor'])) $conf['auth_users_addvendor'] = "off";
		fwrite($fd,"\$conf['auth_users_addvendor']='".$conf['auth_users_addvendor']."';\n");
		if (empty($conf['auth_users_upvendor'])) $conf['auth_users_upvendor'] = "off";
		fwrite($fd,"\$conf['auth_users_upvendor']='".$conf['auth_users_upvendor']."';\n");
		if (empty($conf['auth_users_delvendor'])) $conf['auth_users_delvendor'] = "off";
		fwrite($fd,"\$conf['auth_users_delvendor']='".$conf['auth_users_delvendor']."';\n");
		if (empty($conf['auth_users_getvendorcat'])) $conf['auth_users_getvendorcat'] = "off";
		fwrite($fd,"\$conf['auth_users_getvendorcat']='".$conf['auth_users_getvendorcat']."';\n");
		if (empty($conf['auth_users_addvendorcat'])) $conf['auth_users_addvendorcat'] = "off";
		fwrite($fd,"\$conf['auth_users_addvendorcat']='".$conf['auth_users_addvendorcat']."';\n");
		if (empty($conf['auth_users_upvendorcat'])) $conf['auth_users_upvendorcat'] = "off";
		fwrite($fd,"\$conf['auth_users_upvendorcat']='".$conf['auth_users_upvendorcat']."';\n");
		if (empty($conf['auth_users_delvendorcat'])) $conf['auth_users_delvendorcat'] = "off";
		fwrite($fd,"\$conf['auth_users_delvendorcat']='".$conf['auth_users_delvendorcat']."';\n");
		if (empty($conf['auth_users_getmanufacturer'])) $conf['auth_users_getmanufacturer'] = "off";
		fwrite($fd,"\$conf['auth_users_getmanufacturer']='".$conf['auth_users_getmanufacturer']."';\n");
		if (empty($conf['auth_users_addmanufacturer'])) $conf['auth_users_addmanufacturer'] = "off";
		fwrite($fd,"\$conf['auth_users_addmanufacturer']='".$conf['auth_users_addmanufacturer']."';\n");
		if (empty($conf['auth_users_upmanufacturer'])) $conf['auth_users_upmanufacturer'] = "off";
		fwrite($fd,"\$conf['auth_users_upmanufacturer']='".$conf['auth_users_upmanufacturer']."';\n");
		if (empty($conf['auth_users_delmanufacturer'])) $conf['auth_users_delmanufacturer'] = "off";
		fwrite($fd,"\$conf['auth_users_delmanufacturer']='".$conf['auth_users_delmanufacturer']."';\n");
		if (empty($conf['auth_users_getmanufacturercat'])) $conf['auth_users_getmanufacturercat'] = "off";
		fwrite($fd,"\$conf['auth_users_getmanufacturercat']='".$conf['auth_users_getmanufacturercat']."';\n");
		if (empty($conf['auth_users_addmanufacturercat'])) $conf['auth_users_addmanufacturercat'] = "off";
		fwrite($fd,"\$conf['auth_users_addmanufacturercat']='".$conf['auth_users_addmanufacturercat']."';\n");
		if (empty($conf['auth_users_upmanufacturercat'])) $conf['auth_users_upmanufacturercat'] = "off";
		fwrite($fd,"\$conf['auth_users_upmanufacturercat']='".$conf['auth_users_upmanufacturercat']."';\n");
		if (empty($conf['auth_users_delmanufacturercat'])) $conf['auth_users_delmanufacturercat'] = "off";
		fwrite($fd,"\$conf['auth_users_delmanufacturercat']='".$conf['auth_users_delmanufacturercat']."';\n");
		if (empty($conf['auth_users_getvendorimg'])) $conf['auth_users_getvendorimg'] = "off";
		fwrite($fd,"\$conf['auth_users_getvendorimg']='".$conf['auth_users_getvendorimg']."';\n");
		if (empty($conf['auth_users_getversion'])) $conf['auth_users_getversion'] = "off";
		fwrite($fd,"\$conf['auth_users_getversion']='".$conf['auth_users_getversion']."';\n");
		
		if (empty($conf['auth_prod_getfromcat'])) $conf['auth_prod_getfromcat'] = "off";
		fwrite($fd,"\$conf['auth_prod_getfromcat']='".$conf['auth_prod_getfromcat']."';\n");
		if (empty($conf['auth_prod_getchild'])) $conf['auth_prod_getchild'] = "off";
		fwrite($fd,"\$conf['auth_prod_getchild']='".$conf['auth_prod_getchild']."';\n");
		if (empty($conf['auth_prod_getfromid'])) $conf['auth_prod_getfromid'] = "off";
		fwrite($fd,"\$conf['auth_prod_getfromid']='".$conf['auth_prod_getfromid']."';\n");
		if (empty($conf['auth_prod_updateprod'])) $conf['auth_prod_updateprod'] = "off";
		fwrite($fd,"\$conf['auth_prod_updateprod']='".$conf['auth_prod_updateprod']."';\n");
		if (empty($conf['auth_prod_getfromoderid'])) $conf['auth_prod_getfromoderid'] = "off";
		fwrite($fd,"\$conf['auth_prod_getfromoderid']='".$conf['auth_prod_getfromoderid']."';\n");
		if (empty($conf['auth_prod_addprod'])) $conf['auth_prod_addprod'] = "off";
		fwrite($fd,"\$conf['auth_prod_addprod']='".$conf['auth_prod_addprod']."';\n");
		if (empty($conf['auth_prod_delprod'])) $conf['auth_prod_delprod'] = "off";
		fwrite($fd,"\$conf['auth_prod_delprod']='".$conf['auth_prod_delprod']."';\n");
		if (empty($conf['auth_prod_getcurrency'])) $conf['auth_prod_getcurrency'] = "off";
		fwrite($fd,"\$conf['auth_prod_getcurrency']='".$conf['auth_prod_getcurrency']."';\n");
		if (empty($conf['auth_prod_gettax'])) $conf['auth_prod_gettax'] = "off";
		fwrite($fd,"\$conf['auth_prod_gettax']='".$conf['auth_prod_gettax']."';\n");
		if (empty($conf['auth_prod_addtax'])) $conf['auth_prod_addtax'] = "off";
		fwrite($fd,"\$conf['auth_prod_addtax']='".$conf['auth_prod_addtax']."';\n");
		if (empty($conf['auth_prod_updatetax'])) $conf['auth_prod_updatetax'] = "off";
		fwrite($fd,"\$conf['auth_prod_updatetax']='".$conf['auth_prod_updatetax']."';\n");
		if (empty($conf['auth_prod_deltax'])) $conf['auth_prod_deltax'] = "off";
		fwrite($fd,"\$conf['auth_prod_deltax']='".$conf['auth_prod_deltax']."';\n");
		if (empty($conf['auth_prod_getallprod'])) $conf['auth_prod_getallprod'] = "off";
		fwrite($fd,"\$conf['auth_prod_getallprod']='".$conf['auth_prod_getallprod']."';\n");
		if (empty($conf['auth_prod_getimg'])) $conf['auth_prod_getimg'] = "off";
		fwrite($fd,"\$conf['auth_prod_getimg']='".$conf['auth_prod_getimg']."';\n");

		if (empty($conf['auth_order_getfromstatus'])) $conf['auth_order_getfromstatus'] = "off";
		fwrite($fd,"\$conf['auth_order_getfromstatus']='".$conf['auth_order_getfromstatus']."';\n");
		if (empty($conf['auth_order_getorder'])) $conf['auth_order_getorder'] = "off";
		fwrite($fd,"\$conf['auth_order_getorder']='".$conf['auth_order_getorder']."';\n");
		if (empty($conf['auth_order_getstatus'])) $conf['auth_order_getstatus'] = "off";
		fwrite($fd,"\$conf['auth_order_getstatus']='".$conf['auth_order_getstatus']."';\n");
		if (empty($conf['auth_order_getall'])) $conf['auth_order_getall'] = "off";
		fwrite($fd,"\$conf['auth_order_getall']='".$conf['auth_order_getall']."';\n");
		if (empty($conf['auth_order_updatestatus'])) $conf['auth_order_updatestatus'] = "off";
		fwrite($fd,"\$conf['auth_order_updatestatus']='".$conf['auth_order_updatestatus']."';\n");
		if (empty($conf['auth_order_deleteorder'])) $conf['auth_order_deleteorder'] = "off";
		fwrite($fd,"\$conf['auth_order_deleteorder']='".$conf['auth_order_deleteorder']."';\n");
		if (empty($conf['auth_order_createorder'])) $conf['auth_order_createorder'] = "off";
		fwrite($fd,"\$conf['auth_order_createorder']='".$conf['auth_order_createorder']."';\n");
		if (empty($conf['auth_order_getcoupon'])) $conf['auth_order_getcoupon'] = "off";
		fwrite($fd,"\$conf['auth_order_getcoupon']='".$conf['auth_order_getcoupon']."';\n");
		if (empty($conf['auth_order_addcoupon'])) $conf['auth_order_addcoupon'] = "off";
		fwrite($fd,"\$conf['auth_order_addcoupon']='".$conf['auth_order_addcoupon']."';\n");
		if (empty($conf['auth_order_delcoupon'])) $conf['auth_order_delcoupon'] = "off";
		fwrite($fd,"\$conf['auth_order_delcoupon']='".$conf['auth_order_delcoupon']."';\n");
		if (empty($conf['auth_order_getshiprate'])) $conf['auth_order_getshiprate'] = "off";
		fwrite($fd,"\$conf['auth_order_getshiprate']='".$conf['auth_order_getshiprate']."';\n");
		if (empty($conf['auth_order_addshiprate'])) $conf['auth_order_addshiprate'] = "off";
		fwrite($fd,"\$conf['auth_order_addshiprate']='".$conf['auth_order_addshiprate']."';\n");
		if (empty($conf['auth_order_upshiprate'])) $conf['auth_order_upshiprate'] = "off";
		fwrite($fd,"\$conf['auth_order_upshiprate']='".$conf['auth_order_upshiprate']."';\n");
		if (empty($conf['auth_order_delshiprate'])) $conf['auth_order_delshiprate'] = "off";
		fwrite($fd,"\$conf['auth_order_delshiprate']='".$conf['auth_order_delshiprate']."';\n");
		if (empty($conf['auth_order_getshipcarrier'])) $conf['auth_order_getshipcarrier'] = "off";
		fwrite($fd,"\$conf['auth_order_getshipcarrier']='".$conf['auth_order_getshipcarrier']."';\n");
		if (empty($conf['auth_order_addshipcarrier'])) $conf['auth_order_addshipcarrier'] = "off";
		fwrite($fd,"\$conf['auth_order_addshipcarrier']='".$conf['auth_order_addshipcarrier']."';\n");
		if (empty($conf['auth_order_upshipcarrier'])) $conf['auth_order_upshipcarrier'] = "off";
		fwrite($fd,"\$conf['auth_order_upshipcarrier']='".$conf['auth_order_upshipcarrier']."';\n");
		if (empty($conf['auth_order_delshipcarrier'])) $conf['auth_order_delshipcarrier'] = "off";
		fwrite($fd,"\$conf['auth_order_delshipcarrier']='".$conf['auth_order_delshipcarrier']."';\n");
		if (empty($conf['auth_order_getpayment'])) $conf['auth_order_getpayment'] = "off";
		fwrite($fd,"\$conf['auth_order_getpayment']='".$conf['auth_order_getpayment']."';\n");
		if (empty($conf['auth_order_addpayment'])) $conf['auth_order_addpayment'] = "off";
		fwrite($fd,"\$conf['auth_order_addpayment']='".$conf['auth_order_addpayment']."';\n");
		if (empty($conf['auth_order_updatepayment'])) $conf['auth_order_updatepayment'] = "off";
		fwrite($fd,"\$conf['auth_order_updatepayment']='".$conf['auth_order_updatepayment']."';\n");
		if (empty($conf['auth_order_delapyment'])) $conf['auth_order_delapyment'] = "off";
		fwrite($fd,"\$conf['auth_order_delapyment']='".$conf['auth_order_delapyment']."';\n");
		if (empty($conf['auth_order_getorderfromdate'])) $conf['auth_order_getorderfromdate'] = "off";
		fwrite($fd,"\$conf['auth_order_getorderfromdate']='".$conf['auth_order_getorderfromdate']."';\n");
		
		///////////////
		if (empty($conf['auth_order_getcreditcard'])) $conf['auth_order_getcreditcard'] = "off";
		fwrite($fd,"\$conf['auth_order_getcreditcard']='".$conf['auth_order_getcreditcard']."';\n");
		if (empty($conf['auth_order_addcreditcard'])) $conf['auth_order_addcreditcard'] = "off";
		fwrite($fd,"\$conf['auth_order_addcreditcard']='".$conf['auth_order_addcreditcard']."';\n");
		if (empty($conf['auth_order_upcreditcard'])) $conf['auth_order_upcreditcard'] = "off";
		fwrite($fd,"\$conf['auth_order_upcreditcard']='".$conf['auth_order_upcreditcard']."';\n");
		if (empty($conf['auth_order_delcreditcard'])) $conf['auth_order_delcreditcard'] = "off";
		fwrite($fd,"\$conf['auth_order_delcreditcard']='".$conf['auth_order_delcreditcard']."';\n");
		if (empty($conf['auth_order_addstatus'])) $conf['auth_order_addstatus'] = "off";
		fwrite($fd,"\$conf['auth_order_addstatus']='".$conf['auth_order_addstatus']."';\n");
		if (empty($conf['auth_order_upstatus'])) $conf['auth_order_upstatus'] = "off";
		fwrite($fd,"\$conf['auth_order_upstatus']='".$conf['auth_order_upstatus']."';\n");
		if (empty($conf['auth_order_delstatus'])) $conf['auth_order_delstatus'] = "off";
		fwrite($fd,"\$conf['auth_order_delstatus']='".$conf['auth_order_delstatus']."';\n");
		
		if (empty($conf['auth_sql_sqlrqst'])) $conf['auth_sql_sqlrqst'] = "off";
		fwrite($fd,"\$conf['auth_sql_sqlrqst']='".$conf['auth_sql_sqlrqst']."';\n");
		if (empty($conf['auth_sql_select'])) $conf['auth_sql_select'] = "off";
		fwrite($fd,"\$conf['auth_sql_select']='".$conf['auth_sql_select']."';\n");
		if (empty($conf['auth_sql_insert'])) $conf['auth_sql_insert'] = "off";
		fwrite($fd,"\$conf['auth_sql_insert']='".$conf['auth_sql_insert']."';\n");
		if (empty($conf['auth_sql_update'])) $conf['auth_sql_update'] = "off";
		fwrite($fd,"\$conf['auth_sql_update']='".$conf['auth_sql_update']."';\n");
		
		if (empty($conf['auth_all_upload'])) $conf['auth_all_upload'] = "off";
		fwrite($fd,"\$conf['auth_all_upload']='".$conf['auth_all_upload']."';\n");
		
		
		
		
		
		fwrite($fd,"?>\n");
		fclose($fd);

/*
		$conf['Acces']="";
		$conf['SrvSql']="";
		$conf['user']="";
		$conf['password']="";
		$conf['base']="";
		$conf['remove']="";
		return($conf);
*/
		JRequest::getVar('trace')->trace_it(__FILE__." save_conf fin", 1, -1);
	}
	function read_conf()
	{
		JRequest::getVar('trace')->trace_it(__FILE__." read_conf d�but", 1, 1);
	/*
		$conf['Acces']="";
		$conf['SrvSql']="";
		$conf['user']="";
		$conf['password']="";
		$conf['base']="";
		$conf['remove']="";
		*/
		require( JPATH_COMPONENT.DS."vm_soa_conf.php" );
		JRequest::getVar('trace')->trace_it(__FILE__." read_conf fin", 1, -1);
		return($conf);
	}
	/**
	 * Cette fonction va envoyer les commandes VM s�lectionn�es vers 
	 */
	function commandesApply()
	{
		JRequest::getVar('trace')->trace_it(__FILE__." commandesApply d�but", 1, 1);
		JRequest::getVar('trace')->trace_it(__FILE__." commandesApply fin", 1, -1);
	}
	/**
	 * Cette fonction va lister les commandes Vm et 
	 */
	function commandesList()
	{
		JRequest::getVar('trace')->trace_it(__FILE__." commandesList d�but", 1, 1);
		JRequest::getVar('trace')->trace_it(__FILE__." commandesList fin", 1, -1);
	}
	/**
	 * Cette fonction va envoyer les produits VM s�lectionn�s vers 
	 */
	function produitsApply()
	{
		JRequest::getVar('trace')->trace_it(__FILE__." produitsApply d�but", 1, 1);
		JRequest::getVar('trace')->trace_it(__FILE__." produitsApply fin", 1, -1);
	}
	/**
	 * Cette fonction va envoyer les clients VM s�lectionn�s vers 
	 */
	function clientsApply()
	{
		JRequest::getVar('trace')->trace_it(__FILE__." clientsApply d�but", 1, 1);
		JRequest::getVar('trace')->trace_it(__FILE__." clientsApply fin", 1, -1);
	}
	/**
	 * Cette fonction va lister les clients Vm et 
	 */
	function clientsList()
	{
		JRequest::getVar('trace')->trace_it(__FILE__." clientsList d�but", 1, 1);
		JRequest::getVar('trace')->trace_it(__FILE__." clientsList fin", 1, -1);
	}
}
?>
Return current item: SOA For Virtuemart (WebServices)