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

Class: Services_UseKetchup_User

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

Class Overview

Services_UseKetchup_Common
   |
   --Services_UseKetchup_User

Services_UseKetchup_User


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_User


[ Top ]


Method Detail

add   [line 65]

boolean add( stdClass $user)

Add a new user account to useketchup.com
  • Access: public

Parameters:

stdClass   $user   —  The object with user properties.

[ Top ]

update   [line 87]

boolean update( stdClass $data)

Update the user. This works against whoever you are logged in with currently.
  • Access: public

Parameters:

stdClass   $data   —  The user data.

[ Top ]

view   [line 107]

stdClass view( )

View the details of the currently authenticated/logged in user.
  • Access: public

[ Top ]


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