// Prepare custom_slider value which will be used in SQL statement. // In this function, we simply return the value of $customslider defined // in the GetPOI request. // // Arguments: // customslider ; the value of CUSTOM_SLIDER parameter in the GetPOI request. // // Returns: // customslider ; the value that can be used to construct the right SQL // statement. function GetSliderValue ( $customslider ) { // if $customslider exists, return its value. if( isset( $customslider ) ) return $customslider; else throw new Exception(“custom slider parameter is not passed in GetPOI request.”); }//GetSliderValue