Overview

Packages

  • None
  • Vilma

Classes

  • Vilma
  • Vilma_Api
  • Vilma_Driver
  • Vilma_Driver_Qmailldap
  • Vilma_Driver_Sql
  • Vilma_Form_DeleteDomain
  • Vilma_Form_EditAlias
  • Vilma_Form_EditDomain
  • Vilma_Form_EditForward
  • Vilma_Form_EditUser
  • Vilma_MailboxDriver
  • Vilma_MailboxDriver_Hooks
  • Vilma_MailboxDriver_Imap
  • Vilma_MailboxDriver_Maildrop
  • Vilma_MailboxDriver_Null
  • Vilma_Test
  • Overview
  • Package
  • Class
  • Tree

Class Vilma

Copyright 2003-2012 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (BSD). If you did did not receive this file, see http://cvs.horde.org/co.php/vilma/LICENSE.

Package: Vilma
Author: Marko Djukic marko@oblo.com
Author: David Cummings davidcummings@acm.org
Located at Vilma.php
Methods summary
public static boolean
# hasPermission( string $domain = null, integer $permmask = null )

Checks whether the current user has administrative permissions over the requested domain at the given permissions level.

Checks whether the current user has administrative permissions over the requested domain at the given permissions level.

Also checks to see if the user is a Vilma superadmin. If the user is a Horde admin they automatically have permission.

Parameters

$domain
Domain for which to check permissions.
$permmask
Permissions that must be set for the user.

Returns

boolean
True if the user has the requested permission.
public static
# getUserMgrTypes( )
public static Horde_Core_Ui_Tabs
# getUserMgrTabs( Variables $vars )

Creates tabs to navigate the user manager area.

Creates tabs to navigate the user manager area.

Returns

Horde_Core_Ui_Tabs
public static
# setCurDomain( mixed $domain = null )

Set the current domain.

Set the current domain.

public static string
# stripUser( string $email )

Strips the domain from an email address (leaving the user name).

Strips the domain from an email address (leaving the user name).

Parameters

$email
Email address to strip.

Returns

string
User name portion of the email address.
public static string
# stripDomain( string $email )

Strip the user name from an email address (leaving the domain).

Strip the user name from an email address (leaving the domain).

Parameters

$email
Email address to strip.

Returns

string
Domain portion of the email address.
API documentation generated by ApiGen