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

Class: Services_Hatena_Search

Source Location: /Services_Hatena-0.1.5/Services/Hatena/Search.php

Class Overview

Services_Hatena
   |
   --Services_Hatena_Search

Services_Hatena_Search


Author(s):

  • Makoto Tanaka

Version:

  • Release: 0.1.0

Copyright:

  • 2006 Makoto Tanaka

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Hatena

Services_Hatena::factory()
factory class and return.
Services_Hatena::getWSSEAuth()
Retrun wsse.
Services_Hatena::hatena_login()
To login to hatena
Services_Hatena::setWSSEAuth()
To create string for WSSE

Class Details

[line 37]
Services_Hatena_Search

Interface for Hatena::Search with OpernSerch. This class make Search function from Hatena. The arguments is keyword to get a search result from Hatena.

  • Author: Makoto Tanaka
  • Version: Release: 0.1.0
  • Copyright: 2006 Makoto Tanaka
  • License: PHP License 3.0


[ Top ]


Class Variables

$os =  null

[line 51]

To store OpenSearch object

Type:   mixed


[ Top ]

$osxml_url =  'http://search.hatena.ne.jp/osxml'

[line 44]

To store OpenSearch Description Document URI.

Type:   mixed


[ Top ]



Method Detail

Services_Hatena_Search (Constructor)   [line 58]

Services_Hatena_Search Services_Hatena_Search( )

constructer

create OpenSearch object


[ Top ]

execute   [line 70]

array execute( string $keyword)

execute
  • Return: search result

Parameters:

string   $keyword     keyword

[ Top ]

getCount   [line 115]

intger getCount( )

Retrieves the currently set entry count of per page.
  • Return: entry count

[ Top ]

getNextPage   [line 141]

page getNextPage( )

To get next page number
  • Return: number

[ Top ]

getPrevPage   [line 125]

page getPrevPage( )

To get previous page number
  • Return: number

[ Top ]

getStartPage   [line 105]

intger getStartPage( )

To get start page for search
  • Return: page number

[ Top ]

getTotalSearchResult   [line 85]

intger getTotalSearchResult( )

To get number of search result
  • Return: number of search result

[ Top ]

setStartPage   [line 95]

void setStartPage( integer $p)

To set start page for search

Parameters:

integer   $p     page number

[ Top ]


Documentation generated on Sun, 08 Apr 2012 13:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.