PHP Класс LdapTools\Security\Acl\Acl

Автор: Chad Sikorra ([email protected])
Наследование: use trait LdapTools\Utilities\NumberUtilitiesTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$aces LdapTools\Security\Ace\Ace[]
$revision The revision value of the ACL.
$sbz1 The Sbz1 reserved value of the ACL.
$sbz2 The Sbz2 reserved value of the ACL.

Открытые методы

Метод Описание
__construct ( string | null $acl = null )
__toString ( ) : string
addAce ( variadic $aces ) Add one or more ACEs to the ACL.
getAces ( ) : Ace[] Get the ACEs for this ACL.
getRevision ( ) : integer Get the revision of the ACL.
getSbz1 ( ) : integer Get the Sbz1 value for the ACL.
getSbz2 ( ) : integer Get the Sbz2 value for the ACL.
getSddlIdentifier ( ) : string Get the character that represents the ACL type in the SDDL string.
hasAce ( variadic $aces ) : boolean Check if an ACE, or multiple ACEs, exist within this ACL.
removeAce ( variadic $aces ) Remove one or more ACEs from the ACL.
setAces ( variadic $aces ) Set the ACEs for the ACL.
setRevision ( integer $revision ) Set the revision of the ACL.
setSbz1 ( integer $sbz1 ) Set the Sbz1 value for the ACL.
setSbz2 ( integer $sbz2 ) Set the Sbz2 value for the ACL.
toBinary ( ) : string Get the binary string representation of the ACL.
toSddl ( ) : string Get the SDDL string representation of the ACL.

Защищенные методы

Метод Описание
decodeBinary ( string $acl )
getAllowedAceType ( ) : string Get the ACE type that is allowed (by the the string key constant it starts with).
validateAce ( Ace $ace )

Описание методов

__construct() публичный метод

public __construct ( string | null $acl = null )
$acl string | null

__toString() публичный метод

public __toString ( ) : string
Результат string

addAce() публичный метод

Add one or more ACEs to the ACL.
public addAce ( variadic $aces )
$aces variadic

decodeBinary() защищенный метод

protected decodeBinary ( string $acl )
$acl string

getAces() публичный метод

Get the ACEs for this ACL.
public getAces ( ) : Ace[]
Результат LdapTools\Security\Ace\Ace[]

getAllowedAceType() абстрактный защищенный метод

Get the ACE type that is allowed (by the the string key constant it starts with).
abstract protected getAllowedAceType ( ) : string
Результат string

getRevision() публичный метод

Get the revision of the ACL.
public getRevision ( ) : integer
Результат integer

getSbz1() публичный метод

Get the Sbz1 value for the ACL.
public getSbz1 ( ) : integer
Результат integer

getSbz2() публичный метод

Get the Sbz2 value for the ACL.
public getSbz2 ( ) : integer
Результат integer

getSddlIdentifier() абстрактный публичный метод

Get the character that represents the ACL type in the SDDL string.
abstract public getSddlIdentifier ( ) : string
Результат string

hasAce() публичный метод

Check if an ACE, or multiple ACEs, exist within this ACL.
public hasAce ( variadic $aces ) : boolean
$aces variadic
Результат boolean

removeAce() публичный метод

Remove one or more ACEs from the ACL.
public removeAce ( variadic $aces )
$aces variadic

setAces() публичный метод

Set the ACEs for the ACL.
public setAces ( variadic $aces )
$aces variadic

setRevision() публичный метод

Set the revision of the ACL.
public setRevision ( integer $revision )
$revision integer

setSbz1() публичный метод

Set the Sbz1 value for the ACL.
public setSbz1 ( integer $sbz1 )
$sbz1 integer

setSbz2() публичный метод

Set the Sbz2 value for the ACL.
public setSbz2 ( integer $sbz2 )
$sbz2 integer

toBinary() публичный метод

Get the binary string representation of the ACL.
public toBinary ( ) : string
Результат string

toSddl() публичный метод

Get the SDDL string representation of the ACL.
public toSddl ( ) : string
Результат string

validateAce() защищенный метод

protected validateAce ( Ace $ace )
$ace LdapTools\Security\Ace\Ace

Описание свойств

$aces защищенное свойство

protected Ace[],LdapTools\Security\Ace $aces
Результат LdapTools\Security\Ace\Ace[]

$revision защищенное свойство

The revision value of the ACL.
protected $revision

$sbz1 защищенное свойство

The Sbz1 reserved value of the ACL.
protected $sbz1

$sbz2 защищенное свойство

The Sbz2 reserved value of the ACL.
protected $sbz2