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

Class: Services_UseKetchup_Projects

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

Class Overview

Services_UseKetchup_Common
   |
   --Services_UseKetchup_Projects

Services_UseKetchup_Projects


Author(s):

Version:

  • Release: 0.1.0

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_Projects


[ Top ]


Method Detail

show   [line 66]

array show( [ $lean = null])

Show all projects.
  • Return: An array stacked with objects.
  • Todo: useketchup.com needs to implement ?lean=true
  • Access: public

Parameters:

boolean   $lean     If set to 'true', we save resources and it'll include less data.

[ Top ]

update   [line 80]

boolean update( $project)

Update a project.
  • Access: public

Parameters:

stdClass   $project     The project object.

[ Top ]


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