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

Class: Services_UseKetchup_Items

Source Location: /Services_UseKetchup-0.1.0/Services/UseKetchup/Items.php

Class Overview

Services_UseKetchup_Common
   |
   --Services_UseKetchup_Items

Services_UseKetchup_Items


Author(s):

Version:

  • Release: 0.1.0

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_UseKetchup_Common

Services_UseKetchup_Common::accept()
Acceptor pattern.
Services_UseKetchup_Common::debugCall()
Collect debug information on the last call.
Services_UseKetchup_Common::getClient()
Return the instance of HTTP_Request2 or null.
Services_UseKetchup_Common::guessId()
Try to guess the ID (aka shortcode_url) from the variable.
Services_UseKetchup_Common::makeRequest()
Make an API request. Override the instance of HTTP_Request2 with self::accept() if you need to configure the object with a proxy or something similar.
Services_UseKetchup_Common::parseResponse()
Parse the response (from self::makeRequest().
Services_UseKetchup_Common::setApiToken()
Set an API Token.
Services_UseKetchup_Common::setPassword()
Set password.
Services_UseKetchup_Common::setUsername()
Set username.

Class Details

[line 56]
Services_UseKetchup_Items


[ Top ]


Class Variables

$lastCreated =

[line 63]

  • See: self::add()
  • See: self::getLastCreated()
  • Access: protected

Type:   stdClass


[ Top ]



Method Detail

add   [line 75]

boolean add( mixed $meeting, $item)

Add an item to the given meeting.
  • See: self::getLastCreated()
  • Access: public

Parameters:

mixed   $meeting     Either stdClass (with shortcode_url), or the shortcode_url of the item.
stdClass   $item     The item object.

[ Top ]

delete   [line 101]

boolean delete( mixed $item)

Delete an item.
  • Access: public

Parameters:

mixed   $item     Either stdClass (with shortcode_url), or the shortcode_url of the item.

[ Top ]

getLastCreated   [line 191]

stdClass getLastCreated( )

Get last created meeting.
  • See: self::add()
  • Throws: RuntimeException When called prior to add().
  • Access: public
  • Uses: self::$lastCreated

[ Top ]

show   [line 124]

array show( mixed $meeting)

Show all items of a given meeting.
  • Return: An array stacked with stdClass.
  • Access: public

Parameters:

mixed   $meeting     Either stdClass (with shortcode_url), or the shortcode_url of the item.

[ Top ]

sort   [line 142]

boolean sort( mixed $meeting, $sort)

Change sort order of items on a meeting.
  • Access: public

Parameters:

mixed   $meeting     Either stdClass (with shortcode_url), or the shortcode_url of the item.
stdClass   $sort     {'items':['SHORTCODE_URL', 'SHORTCODE_URL']}

[ Top ]

update   [line 166]

boolean update( $item)

Update an item.
  • Access: public

Parameters:

stdClass   $item     The item object.

[ Top ]


Documentation generated on Fri, 17 Sep 2010 13:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.