Horde_Imap_Client_Data_SearchCharset_Utf8
extends Horde_Imap_Client_Data_SearchCharset
in package
Query the search charsets available on a server that supports the UTF-8 IMAP extension (RFC 6855).
Tags
Table of Contents
- $charsets : array<string|int, mixed>
- $_baseob : Horde_Imap_Client_Base
- Base client object.
- $_charsets : array<string|int, mixed>
- Charset data.
- $_observers : array<string|int, mixed>
- Observers.
- __get() : mixed
- __serialize() : array<string|int, mixed>
- __unserialize() : mixed
- attach() : mixed
- detach() : mixed
- notify() : mixed
- Notification is triggered internally whenever the object's internal data storage is altered.
- query() : bool
- Query the validity of a charset.
- serialize() : mixed
- setBaseOb() : mixed
- setValid() : mixed
- Set the validity of a given charset.
- unserialize() : mixed
Properties
$charsets read-only
public
array<string|int, mixed>
$charsets
The list of valid charsets that have been discovered on the server.
$_baseob
Base client object.
protected
Horde_Imap_Client_Base
$_baseob
$_charsets
Charset data.
protected
array<string|int, mixed>
$_charsets
= array('US-ASCII' => \true, 'UTF-8' => \true)
$_observers
Observers.
protected
array<string|int, mixed>
$_observers
= array()
Methods
__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —__unserialize()
public
__unserialize(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
Return values
mixed —attach()
public
attach(SplObserver $observer) : mixed
Parameters
- $observer : SplObserver
Return values
mixed —detach()
public
detach(SplObserver $observer) : mixed
Parameters
- $observer : SplObserver
Return values
mixed —notify()
Notification is triggered internally whenever the object's internal data storage is altered.
public
notify() : mixed
Return values
mixed —query()
Query the validity of a charset.
public
query(mixed $charset[, mixed $cached = false ]) : bool
Parameters
- $charset : mixed
-
The charset to query.
- $cached : mixed = false
-
If true, only query cached values.
Return values
bool —True if the charset is valid for searching.
serialize()
public
serialize() : mixed
Return values
mixed —setBaseOb()
public
setBaseOb(Horde_Imap_Client_Base $ob) : mixed
Parameters
- $ob : Horde_Imap_Client_Base
Return values
mixed —setValid()
Set the validity of a given charset.
public
setValid(mixed $charset[, mixed $valid = true ]) : mixed
Parameters
- $charset : mixed
-
The charset.
- $valid : mixed = true
-
Is charset valid?
Return values
mixed —unserialize()
public
unserialize(mixed $data) : mixed
Parameters
- $data : mixed