Documentation

Horde_Imap_Client_Url_Base
in package
implements Serializable

Base object representation of a mail server URL.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2008-2017 Horde LLC

license

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

since
2.25.0

Interfaces, Classes, Traits and Enums

Serializable

Table of Contents

$auth  : string
$host  : string
$port  : int
$username  : string
$_auth  : string
The authentication method to use.
$_host  : string
The server name.
$_port  : int
The port.
$_username  : string
The username.
__construct()  : mixed
Constructor.
__get()  : mixed
__serialize()  : array<string|int, mixed>
__set()  : mixed
__toString()  : string
Create a POP3 (RFC 2384) or IMAP (RFC 5092/5593) URL.
__unserialize()  : mixed
serialize()  : mixed
unserialize()  : mixed
_parse()  : mixed
_parseUrl()  : mixed

Properties

$auth

public string $auth

The authentication method.

$host

public string $host

The server.

$port

public int $port

The port.

$username

public string $username

The username.

$_auth

The authentication method to use.

protected string $_auth = \null

$_host

The server name.

protected string $_host = \null

$_port

The port.

protected int $_port = \null

$_username

The username.

protected string $_username = \null

Methods

__construct()

Constructor.

public __construct([string $url = null ]) : mixed
Parameters
$url : string = null

A URL string.

Return values
mixed

__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>

__set()

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed
Return values
mixed

__toString()

Create a POP3 (RFC 2384) or IMAP (RFC 5092/5593) URL.

public __toString() : string
Return values
string

A URL string.

__unserialize()

public __unserialize(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>
Return values
mixed

serialize()

public serialize() : mixed
Return values
mixed

unserialize()

public unserialize(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

_parse()

protected _parse(mixed $url) : mixed
Parameters
$url : mixed
Return values
mixed

_parseUrl()

protected abstract _parseUrl(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>
Return values
mixed

Search results