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

Class: Services_Hatena_Bookmark

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

Class Overview

Services_Hatena
   |
   --Services_Hatena_Bookmark

Services_Hatena_Bookmark


Author(s):

  • Makoto Tanaka, shoma

Version:

  • Release: 0.1.0

Copyright:

  • 2006 Makoto Tanaka, shoma

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_Bookmark

Interface for Hatena::Bookmark's Atom API This class serves get, add, edit and delete method for your bookmark to Hatena::Bookmark.

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


[ Top ]


Class Variables

$http =

[line 44]

To store HTTP_Request object.

Type:   mixed


[ Top ]



Method Detail

Services_Hatena_Bookmark (Constructor)   [line 51]

Services_Hatena_Bookmark Services_Hatena_Bookmark( )

constructer

create HTTP_Request object


[ Top ]

add_bookmark   [line 65]

void add_bookmark( string $url, string $comment)

To add bookmark

Parameters:

string   $url   —  URL
string   $comment   —  comment

[ Top ]

delete_bookmark   [line 137]

void delete_bookmark( string $eid)

To delete bookmark

Parameters:

string   $eid   —  hatena bookmark id

[ Top ]

edit_bookmark   [line 115]

void edit_bookmark( string $eid, string $title, string $comment)

TO edit bookmark title

Parameters:

string   $eid   —  hatena bookmark id
string   $title   —  title
string   $comment   —  comment

[ Top ]

get_bookmark   [line 89]

void get_bookmark( string $eid)

To get bookmark title

Parameters:

string   $eid   —  hatena bookmark id

[ Top ]

setHeader   [line 153]

void setHeader( string $method, string $url)

To make header

Parameters:

string   $method   —  HTTP Method
string   $url   —  Request URL

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:48:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.