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

Class: Services_Hatena

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

Class Overview


Services_Hatena


Author(s):

  • Makoto Tanaka

Version:

  • Release: 0.1.0

Copyright:

  • 2006 Makoto Tanaka

Variables

Methods


Child classes:

Services_Hatena_Bookmark
Services_Hatena_Bookmark
Services_Hatena_Similar
Services_Hatena_Similar
Services_Hatena_Bookmarknum
Services_Hatena_Bookmarknum
Services_Hatena_Question
Services_Hatena_Question
Services_Hatena_Autolink
Services_Hatena_Autolink
Services_Hatena_Search
Services_Hatena_Search
Services_Hatena_Exist
Services_Hatena_Exist
Services_Hatena_Asin
Services_Hatena_Asin
Services_Hatena_Foto
Services_Hatena_Foto

Inherited Variables

Inherited Methods


Class Details

[line 40]
Services_Hatena

This class serves method to store or get result. This class is for creating object using Hatena's Web Services API (search, autolink, bookmark, bookmarknum, foto, asin, similar,exist).

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


[ Top ]


Class Variables

$addurl =  null

[line 59]

To store add url for atom API.

Type:   mixed


[ Top ]

$bookmark_url =  'b.hatena.ne.jp'

[line 69]

hatena bookmark domain

Type:   mixed


[ Top ]

$diary_url =  'd.hatena.ne.jp'

[line 79]

hatena diary domain

Type:   mixed


[ Top ]

$editurl =  null

[line 64]

To store edit url for atom API.

Type:   mixed


[ Top ]

$foto_url =  'f.hatena.ne.jp'

[line 74]

hatena foto domain

Type:   mixed


[ Top ]

$question_url =  'q.hatena.ne.jp'

[line 84]

hatena question domain

Type:   mixed


[ Top ]



Method Detail

factory   [line 92]

object class factory( string $type)

factory class and return.
  • Return: object for using API.

Parameters:

string   $type     servics name (search, autolink, asin, bookmarknum, bookmark, similar, foto, exist)

[ Top ]

getWSSEAuth   [line 139]

string getWSSEAuth( )

Retrun wsse.
  • Return: WSSE

[ Top ]

hatena_login   [line 129]

void hatena_login( string $user, string $pass)

To login to hatena

Parameters:

string   $user     user name
string   $pass     password

[ Top ]

setWSSEAuth   [line 151]

string setWSSEAuth( string $user, string $pass, [ $sha1 = false])

To create string for WSSE
  • Return: WSSE

Parameters:

string   $user     user name
string   $pass     password
   $sha1     

[ Top ]


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