Source for file local.php
Documentation is available at local.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
* Copyright 2005-2006 Martin Jansen
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* @package Services_Yahoo
* @author Martin Jansen <mj@php.net>
* @copyright 2005-2006 Martin Jansen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @version CVS: $Id: local.php,v 1.6 2006/10/04 15:08:56 mj Exp $
* @link http://pear.php.net/package/Services_Yahoo
require_once "AbstractSearch.php";
* This class implements an interface to Yahoo's Local search by using
* @package Services_Yahoo
* @author Martin Jansen <mj@php.net>
* @copyright 2005-2006 Martin Jansen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @version CVS: $Id: local.php,v 1.6 2006/10/04 15:08:56 mj Exp $
* @link http://pear.php.net/package/Services_Yahoo
* @link http://developer.yahoo.net/local/V1/localSearch.html
protected $requestURL = "http://local.yahooapis.com/LocalSearchService/V3/localSearch";
* Set how far (in miles) from the specified location to search for the query terms
* The default radius varies according to the location given.
* @param string Radius as a float number
* @return Services_Yahoo_AbstractSearch Object which contains the method
* The number is optional.
* @param string Name of the street
* @return Services_Yahoo_AbstractSearch Object which contains the method
* @param string City name
* @return Services_Yahoo_AbstractSearch Object which contains the method
* Set the United States state
* @param string State name. You can spell out the full state name or you can use the two-letter abbreviation.
* @link http://en.wikipedia.org/wiki/State_codes
* @param string State name
* @return Services_Yahoo_AbstractSearch Object which contains the method
* The parameter can be a five-digit ZIP code, or the five-digit
* code plus four-digit extension. If this location contradicts
* the city and state specified, the ZIP code will be used for
* determining the location and the city and state will be ignored.
* @param string ZIP code as described
* @return Services_Yahoo_AbstractSearch Object which contains the method
* Set a location description
* This free field lets users enter any of the following:
* - street, city, state, ZIP
* If location is specified, it will take priority over the
* individual fields in determining the location for the query.
* City, state and ZIP will be ignored.
* @param string Location description
* @return Services_Yahoo_AbstractSearch Object which contains the method
Documentation generated on Fri, 20 Apr 2007 14:30:06 -0400 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.
|