PHP 클래스 Vilma, horde

See the enclosed file LICENSE for license information (BSD). If you did did not receive this file, see http://www.horde.org/licenses/bsd.
저자: Marko Djukic ([email protected])
저자: David Cummings ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
getUserMgrTabs ( Horde_Variables $vars ) : Horde_Core_Ui_Tabs Creates tabs to navigate the user manager area.
getUserMgrTypes ( )
hasPermission ( string $domain = null, integer $permmask = null ) : boolean Checks whether the current user has administrative permissions over the requested domain at the given permissions level.
setCurDomain ( $domain = null ) Set the current domain.
stripDomain ( string $email ) : string Strip the user name from an email address (leaving the domain).
stripUser ( string $email ) : string Strips the domain from an email address (leaving the user name).

메소드 상세

getUserMgrTabs() 공개 정적인 메소드

Creates tabs to navigate the user manager area.
public static getUserMgrTabs ( Horde_Variables $vars ) : Horde_Core_Ui_Tabs
$vars Horde_Variables
리턴 Horde_Core_Ui_Tabs

getUserMgrTypes() 공개 정적인 메소드

public static getUserMgrTypes ( )

hasPermission() 공개 정적인 메소드

Also checks to see if the user is a Vilma superadmin. If the user is a Horde admin they automatically have permission.
public static hasPermission ( string $domain = null, integer $permmask = null ) : boolean
$domain string Domain for which to check permissions.
$permmask integer Permissions that must be set for the user.
리턴 boolean True if the user has the requested permission.

setCurDomain() 공개 정적인 메소드

Set the current domain.
public static setCurDomain ( $domain = null )

stripDomain() 공개 정적인 메소드

Strip the user name from an email address (leaving the domain).
public static stripDomain ( string $email ) : string
$email string Email address to strip.
리턴 string Domain portion of the email address.

stripUser() 공개 정적인 메소드

Strips the domain from an email address (leaving the user name).
public static stripUser ( string $email ) : string
$email string Email address to strip.
리턴 string User name portion of the email address.