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

Class: Services_Hatena_Question

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

Class Overview

Services_Hatena
   |
   --Services_Hatena_Question

Services_Hatena_Question


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_Question

Interface for Hatena::Question's getSimilarQuestion XML-RPC API This class make a call to 'hatena.getSimilarQuestion' method of the Hatena Web Services. The arguments is question to get similar question.

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


[ Top ]


Class Variables

$parameters =

[line 44]

To store parameter

Type:   mixed


[ Top ]



Method Detail

execute   [line 52]

array execute( string $question)

execute
  • Return: similar questions

Parameters:

string   $question     question

[ Top ]

makeParams   [line 118]

void makeParams( string $question)

To make parameter

Parameters:

string   $question     keyword

[ Top ]

setLimit   [line 96]

void setLimit( int $limit)

To set limit

You can set limit.(You can omit it.)


Parameters:

int   $limit     result limit

[ Top ]

setThreshold   [line 108]

void setThreshold( int $threshold)

To set threshold

You can set threshold.(You can omit it.)


Parameters:

int   $threshold     threshold

[ Top ]


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