static function get_eid_rec_count($search_term, $prop_id, $type_id)
 {
     return ScalarQueries::get_eid_rec_count($search_term, $prop_id, $type_id);
 }
Exemple #2
0
	function set_product_lookup_page()
	{
//http://172.16.2.74/index.php?target_component%5B%5D=RecordIniFacade&target_function%5B%5D=initialize&eid=18&type_id=1&OF_passthru=show_purchasable_product		$_REQUEST['eids'] = array(4,5,6);

		$_REQUEST['type_id'] = ScalarQueries::get_type_id($_REQUEST['pl']);
		$_REQUEST['eid'] = $_REQUEST['pl'];
		$target_component = array();
		$target_component[] = "RecordIniFacade";
		$target_function = array();
		$target_function[] = "initialize";
		$_REQUEST['target_component'] = $target_component;
		$_REQUEST['target_function'] = $target_function;
		if (ScalarQueries::get_type_id($_REQUEST['eid']) == 4)
		{
			$_REQUEST['OF_passthru'] = "show_travel_item";
		}
		else
		{
			$_REQUEST['OF_passthru'] = "show_purchasable_product";
		}
		
	}
 static function get_type_id($eid)
 {
     return ScalarQueries::get_type_id($eid);
 }