示例#1
0
	function test1()
	{
/*		if (!empty($_POST)):
			print_r($_POST);
			if ($_REQUEST['target_component'] == "Records")
			{
				$rec = new Record($_POST['rec_eid'],1);
				$rec->update_record();
			}
		endif;
*/
		//$rec = new Record(5,1);
	//	$rec->glu->prop_ids_num_extra[6] = 1;
	//	$rec->glu->set_prop_ids_num_extra_by_group_id(1);
		//$rec->glu->set_prop_ids_num_extra_by_group_id(1);
		$_REQUEST['eid'] = 4;
		$_REQUEST['type_id'] = 1;
		RecordIniFacade::initialize($this->xml_string, $this->xslt_file);
		
		//OutputOperationsFacade::output_template($xml_string, $xslt_file);
	//	$xml = $rec->create_xml_rec();	
	//	return $xml;
	

	}
 function get_record_xml()
 {
     RecordIniFacade::initialize($xml_string, $xslt_file_gbg);
     return $xml_string;
 }