\Ingo

Ingo base class.

Summary

Methods
Properties
Constants
getUser()
getDomain()
hasSharePermission()
loadBackends()
getInitialPage()
No public properties found
USER_HEADER
FILTER_UNSEEN
FILTER_SEEN
RULE_ALL
RULE_FILTER
RULE_BLACKLIST
RULE_WHITELIST
RULE_VACATION
RULE_FORWARD
RULE_SPAM
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

USER_HEADER

USER_HEADER

Define the key to use to indicate a user-defined header is requested.

FILTER_UNSEEN

FILTER_UNSEEN

Only filter unseen messages.

FILTER_SEEN

FILTER_SEEN

Only filter seen messages.

RULE_ALL

RULE_ALL

Constants for rule types.

RULE_FILTER

RULE_FILTER

RULE_BLACKLIST

RULE_BLACKLIST

RULE_WHITELIST

RULE_WHITELIST

RULE_VACATION

RULE_VACATION

RULE_FORWARD

RULE_FORWARD

RULE_SPAM

RULE_SPAM

Methods

getUser()

getUser(boolean  $full = true) : string

Returns the user whose rules are currently being edited.

Parameters

boolean $full

Always return the full user name with realm?

Returns

string —

The current user.

getDomain()

getDomain() : string

Returns the domain name, if any of the user whose rules are currently being edited.

Returns

string —

The current user's domain name.

hasSharePermission()

hasSharePermission(  $mask = null) : boolean

Check share permissions.

Parameters

$mask

Returns

boolean —

True if user has permission.

loadBackends()

loadBackends() : array

Loads the backends.php configuration file.

Throws

\Horde_Exception

Returns

array —

Configuration data.

getInitialPage()

getInitialPage() : \Horde_Url

Return Ingo's initial page.

Returns

\Horde_Url —

URL object.