topical media & game development
#mobile-ar-8-5.txt / txt
// Prepare checkbox value which will be used in SQL statement.
// In this function, we add all the numbers in
// If checkboxlist is empty, then we return 0.
//
// Arguments:
// checkboxlist ; the value of CHECKBOXLIST parameter in the GetPOI request.
//
// Returns:
// checkbox_value ; the value that can be used to construct the right
// SQL statement.
function GetCheckboxValue ( checkboxlist exists, prepare checkbox_value.
if( isset( checkboxlist is empty.
checkboxlist is not empty, return the added value of all
// the numbers splited by ‘,’.
if (!empty(checkboxlist,’,’) ) {
checkboxlist);
for( i<count(i++ )
checkbox_array[checkbox_value = checkbox_value;
} //if
else {
throw new Exception(“checkboxlist parameter is not passed in GetPOI request.”);
}//else
}//GetCheckboxValueCustom Slider Filter
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.