Documentation

Horde_Release_Whups
in package

Glue class for a modular CLI.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
category

Horde

author

Michael J. Rubinsky mrubinsk@horde.org

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

link
http://www.horde.org/libraries/Horde_Release

Table of Contents

$_http  : Horde_Http_Client
Http client
$_params  : array<string|int, mixed>
Local copy of config params.
__construct()  : mixed
Constructor.
addNewVersion()  : mixed
Add a new version to the current modules queue.
getQueueId()  : bool
Look up the queue id for the requested module name.
_listQueues()  : array<string|int, mixed>
Performs a listQueue API call.

Properties

$_http

Http client

protected Horde_Http_Client $_http

$_params

Local copy of config params.

protected array<string|int, mixed> $_params

Methods

__construct()

Constructor.

public __construct(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

TODO

Return values
mixed

addNewVersion()

Add a new version to the current modules queue.

public addNewVersion(string $module, string $version[, string $desc = '' ]) : mixed
Parameters
$module : string

The name of the module.

$version : string

The version string.

$desc : string = ''

Descriptive text for this version.

Tags
throws
Horde_Exception
Return values
mixed

getQueueId()

Look up the queue id for the requested module name.

public getQueueId(string $module) : bool
Parameters
$module : string

TODO

Return values
bool

TODO

_listQueues()

Performs a listQueue API call.

protected _listQueues() : array<string|int, mixed>
Tags
throws
Horde_Exception
Return values
array<string|int, mixed>

List of queues with IDs as key and information hash as value.

Search results