Documentation

IMP_Prefs_Sort_Sortpref
in package

This class provides the object representation for the sort preference for a mailbox.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2012-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Properties

$mbox  : IMP_Mailbox
$sortby  : int
$sortby_default  : bool
$sortby_locked  : bool
$sortdir  : int
$sortdir_default  : bool
$sortdir_locked  : bool
$_mbox  : IMP_Mailbox
Mailbox object.
$_sortby  : array<string|int, mixed>
The sortby value.
$_sortdir  : array<string|int, mixed>
The sortdir value.

Methods

__construct()  : mixed
Constructor.
__get()  : mixed
__set()  : mixed
convertSortby()  : mixed
Converts sortby value given current mailbox attributes.
toArray()  : mixed
Returns the array representation of this object.

Properties

$sortby

public int $sortby

The sortby value.

$sortby_default

public bool $sortby_default

Is the sortby value the default?

$sortby_locked

public bool $sortby_locked

Is the sortby value locked?

$sortdir

public int $sortdir

The sortdir value.

$sortdir_default

public bool $sortdir_default

Is the sortdir value the default?

$sortdir_locked

public bool $sortdir_locked

Is the sortdir value locked?

$_sortby

The sortby value.

protected array<string|int, mixed> $_sortby

$_sortdir

The sortdir value.

protected array<string|int, mixed> $_sortdir

Methods

__construct()

Constructor.

public __construct(string $mbox[, int $sortby = null ][, int $sortdir = null ]) : mixed
Parameters
$mbox : string

Mailbox.

$sortby : int = null

Sortby value.

$sortdir : int = null

Sortdir value.

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed

__set()

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

convertSortby()

Converts sortby value given current mailbox attributes.

public convertSortby() : mixed

toArray()

Returns the array representation of this object.

public toArray() : mixed

        
On this page

Search results