Services_Yahoo_JP
[ class tree: Services_Yahoo_JP ] [ index: Services_Yahoo_JP ] [ all elements ]

Source for file web.php

Documentation is available at web.php

  1. <?php
  2. /**
  3.  * Web search class
  4.  *
  5.  * PHP version 5
  6.  *
  7.  * LICENSE: This source file is subject to the New BSD license that is
  8.  * available through the world-wide-web at the following URI:
  9.  * http://www.opensource.org/licenses/bsd-license.php. If you did not receive
  10.  * a copy of the New BSD License and are unable to obtain it through the web,
  11.  * please send a note to license@php.net so we can mail you a copy immediately.
  12.  *
  13.  * @category  Services
  14.  * @package   Services_Yahoo_JP
  15.  * @author    Tetsuya Nakase <phpizer@gmail.com>
  16.  * @copyright 2008 Tetsuya Nakase
  17.  * @license   http://www.opensource.org/licenses/bsd-license.php BSD
  18.  * @version   CVS: $Id: web.php,v 1.1 2008/04/28 15:59:31 tetsuya Exp $
  19.  * @link      http://phpize.net
  20.  */
  21.  
  22. require_once 'Services/Yahoo/Search/web.php';
  23.  
  24. /**
  25.  * Web search class
  26.  *
  27.  * This class implements an interface to Yahoo's web search by using
  28.  * the Yahoo API.
  29.  *
  30.  * @category  Services
  31.  * @package   Services_Yahoo_JP
  32.  * @author    Tetsuya Nakase <phpizer@gmail.com>
  33.  * @copyright 2008 Tetsuya Nakase
  34.  * @license   http://www.opensource.org/licenses/bsd-license.php BSD
  35.  * @version   Release: 0.0.1
  36.  * @link      http://phpize.net
  37.  */
  38.         extends Services_Yahoo_Search_web
  39. {
  40.     /**
  41.      * api url
  42.      *
  43.      * @access protected
  44.      * @var    string 
  45.      */
  46.     protected $requestURL_JP =
  47.         'http://search.yahooapis.jp/WebSearchService/V1/webSearch';
  48.  
  49.     /**
  50.      * Constructor to set a api url
  51.      */
  52.     public function __construct()
  53.     {
  54.         $this->requestURL $this->requestURL_JP;
  55.     }
  56. }
  57. ?>

Documentation generated on Fri, 19 Sep 2008 21:30:08 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.