\Horde_Imap_Client_Data_SearchCharset_Utf8

Query the search charsets available on a server that supports the UTF-8 IMAP extension (RFC 6855).

Summary

Methods
Properties
Constants
__get()
setBaseOb()
query()
setValid()
attach()
detach()
notify()
serialize()
unserialize()
$charsets
No constants found
No protected methods found
$_baseob
$_charsets
$_observers
N/A
No private methods found
No private properties found
N/A

Properties

$charsets

$charsets : array

The list of valid charsets that have been discovered on the server.

Type

array

$_charsets

$_charsets : array

Charset data.

Type

array

$_observers

$_observers : array

Observers.

Type

array

Methods

__get()

__get(  $name) 

Parameters

$name

query()

query(string  $charset, boolean  $cached = false) : boolean

Query the validity of a charset.

Parameters

string $charset

The charset to query.

boolean $cached

If true, only query cached values.

Returns

boolean —

True if the charset is valid for searching.

setValid()

setValid(string  $charset, boolean  $valid = true) 

Set the validity of a given charset.

Parameters

string $charset

The charset.

boolean $valid

Is charset valid?

attach()

attach(\SplObserver  $observer) 

Parameters

\SplObserver $observer

detach()

detach(\SplObserver  $observer) 

Parameters

\SplObserver $observer

notify()

notify() 

Notification is triggered internally whenever the object's internal data storage is altered.

serialize()

serialize() 

unserialize()

unserialize(  $data) 

Parameters

$data