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

Class: Services_Hatena_Foto

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

Class Overview

Services_Hatena
   |
   --Services_Hatena_Foto

Services_Hatena_Foto


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_Foto

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

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


[ Top ]


Class Variables

$http =

[line 44]

To store HTTP_Request Object

Type:   mixed


[ Top ]



Method Detail

Services_Hatena_Foto (Constructor)   [line 51]

Services_Hatena_Foto Services_Hatena_Foto( )

constructer

create HTTP_Request object.


[ Top ]

add_foto   [line 65]

void add_foto( string $image, string $title)

To add image

Parameters:

string   $image   —  image name
string   $title   —  image title

[ Top ]

delete_foto   [line 135]

void delete_foto( string $fid)

To delete image

Parameters:

string   $fid   —  hatena foto id

[ Top ]

edit_foto   [line 114]

void edit_foto( string $fid, string $title)

To edit image title

Parameters:

string   $fid   —  hatena foto id
string   $title   —  image title

[ Top ]

get_foto   [line 89]

void get_foto( string $fid)

To get image title

Parameters:

string   $fid   —  hatena foto id

[ Top ]

setHeader   [line 151]

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.