topical media & game development

talk show tell print

#mobile-ar-8-6.txt / txt



  // 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


(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.