PHP 클래스 Horde_Dav_Principals, horde

저자: Jan Schneider ([email protected])
상속: extends Sabre\DAVACL\PrincipalBackend\AbstractBackend
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_auth Horde_Auth_Base Authentication backend.
$_identities object Identity factory.

공개 메소드들

메소드 설명
__construct ( Horde_Auth_Base $auth, object $identities ) Constructor.
getGroupMemberSet ( string $principal ) : array Returns the list of members for a group-principal
getGroupMembership ( string $principal ) : array Returns the list of groups a principal is a member of
getPrincipalByPath ( string $path ) : array Returns a specific principal, specified by it's path.
getPrincipalsByPrefix ( string $prefixPath ) : array Returns a list of principals based on a prefix.
searchPrincipals ( string $prefixPath, array $searchProperties, string $test = 'allof' ) : array This method is used to search for principals matching a set of properties.
setGroupMemberSet ( string $principal, array $members ) : void Updates the list of group members for a group principal.
updatePrincipal ( string $path, Sabre\DAV\PropPatch $propPatch ) : void Updates one ore more webdav properties on a principal.

보호된 메소드들

메소드 설명
_getUserInfo ( string $user ) : array Returns principal details.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Auth_Base $auth, object $identities )
$auth Horde_Auth_Base Authentication backend.
$identities object Identity factory.

_getUserInfo() 보호된 메소드

Returns principal details.
protected _getUserInfo ( string $user ) : array
$user string A user name.
리턴 array A hash with user information.

getGroupMemberSet() 공개 메소드

Returns the list of members for a group-principal
public getGroupMemberSet ( string $principal ) : array
$principal string
리턴 array

getGroupMembership() 공개 메소드

Returns the list of groups a principal is a member of
public getGroupMembership ( string $principal ) : array
$principal string
리턴 array

getPrincipalByPath() 공개 메소드

Returns a specific principal, specified by it's path.
public getPrincipalByPath ( string $path ) : array
$path string
리턴 array

getPrincipalsByPrefix() 공개 메소드

Returns a list of principals based on a prefix.
public getPrincipalsByPrefix ( string $prefixPath ) : array
$prefixPath string
리턴 array

searchPrincipals() 공개 메소드

This method is used to search for principals matching a set of properties.
public searchPrincipals ( string $prefixPath, array $searchProperties, string $test = 'allof' ) : array
$prefixPath string
$searchProperties array
$test string
리턴 array

setGroupMemberSet() 공개 메소드

The principals should be passed as a list of uri's.
public setGroupMemberSet ( string $principal, array $members ) : void
$principal string
$members array
리턴 void

updatePrincipal() 공개 메소드

Updates one ore more webdav properties on a principal.
public updatePrincipal ( string $path, Sabre\DAV\PropPatch $propPatch ) : void
$path string
$propPatch Sabre\DAV\PropPatch
리턴 void

프로퍼티 상세

$_auth 보호되어 있는 프로퍼티

Authentication backend.
protected Horde_Auth_Base $_auth
리턴 Horde_Auth_Base

$_identities 보호되어 있는 프로퍼티

Identity factory.
protected object $_identities
리턴 object