Source for file users.php
Documentation is available at users.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* GitHub API References class for the Joomla Platform.
* @package Joomla.Platform
* @param string $user The users login name.
* @throws DomainException
// Build the request path.
$path =
'/users/' .
$user;
// Validate the response code.
if ($response->code !=
200)
// Decode the error response and throw an exception.
throw
new DomainException($error->message, $response->code);
* Get the current authenticated user.
* @throws DomainException
// Build the request path.
// Validate the response code.
if ($response->code !=
200)
// Decode the error response and throw an exception.
throw
new DomainException($error->message, $response->code);
* @param string $name The full name
* @param string $email The email
* @param string $blog The blog
* @param string $company The company
* @param string $location The location
* @param string $hireable If he is unemplayed :P
* @param string $bio The biometrical DNA fingerprint (or smthng...)
* @throws DomainException
public function updateUser($name =
'', $email =
'', $blog =
'', $company =
'', $location =
'', $hireable =
'', $bio =
'')
// Build the request path.
// Validate the response code.
if ($response->code !=
200)
// Decode the error response and throw an exception.
throw
new DomainException($error->message, $response->code);
* This provides a dump of every user, in the order that they signed up for GitHub.
* @param integer $since The integer ID of the last User that you’ve seen.
* @throws DomainException
// Build the request path.
$path .=
($since) ?
'?since=' .
$since :
'';
// Validate the response code.
if ($response->code !=
200)
// Decode the error response and throw an exception.
throw
new DomainException($error->message, $response->code);
Documentation generated on Tue, 19 Nov 2013 15:16:42 +0100 by phpDocumentor 1.4.3