PHP Class Horde_Release_Whups, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael J. Rubinsky ([email protected])
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_http Horde_Http_Client Http client
$_params array Local copy of config params.

Public Methods

Method Description
__construct ( array $params ) Constructor.
addNewVersion ( string $module, string $version, string $desc = '' ) Add a new version to the current modules queue.
getQueueId ( string $module ) : boolean Look up the queue id for the requested module name.

Protected Methods

Method Description
_listQueues ( ) : array Performs a listQueue API call.

Method Details

__construct() public method

Constructor.
public __construct ( array $params )
$params array TODO

_listQueues() protected method

Performs a listQueue API call.
protected _listQueues ( ) : array
return array List of queues with IDs as key and information hash as value.

addNewVersion() public method

Add a new version to the current modules queue.
public addNewVersion ( string $module, string $version, string $desc = '' )
$module string The name of the module.
$version string The version string.
$desc string Descriptive text for this version.

getQueueId() public method

Look up the queue id for the requested module name.
public getQueueId ( string $module ) : boolean
$module string TODO
return boolean TODO

Property Details

$_http protected property

Http client
protected Horde_Http_Client $_http
return Horde_Http_Client

$_params protected property

Local copy of config params.
protected array $_params
return array