\Horde_Imsp_Options

Horde_Imsp_Options Class - provides an interface to IMSP server-based options storage.

Copyright 2004-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.

Summary

Methods
Properties
Constants
__construct()
get()
set()
logout()
No public properties found
No constants found
No protected methods found
$_imsp
$_params
N/A
No private methods found
No private properties found
N/A

Properties

$_params

$_params : array

Parameter list.

Type

array

Methods

__construct()

__construct(\Horde_Imsp_Client_base  $client, array  $params) 

Constructor.

Parameters

\Horde_Imsp_Client_base $client

The client connection.

array $params

Hash containing IMSP parameters.

get()

get(string  $option) : array

Function sends a GET command to IMSP server and retrieves values.

Parameters

string $option

Name of option to retrieve. Accepts '*' as wild card.

Throws

\Horde_Imsp_Exception

Returns

array —

Hash containing option=>value pairs.

set()

set(  $option, string  $value) 

Function sets an option value on the IMSP server.

Parameters

$option
string $value

Value to assign.

Throws

\Horde_Imsp_Exception

logout()

logout()