PHP Class LdapTools\Security\Flags

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$flags integer

Méthodes publiques

Méthode Description
__construct ( integer | string $flags )
add ( $flags ) Add a flag to the value.
getValue ( ) : integer Get the flag integer value.
has ( $flag ) : boolean
remove ( $flags ) Remove a flag from the value.

Méthodes protégées

Méthode Description
hasOrSet ( integer $flag, boolean $action )

Method Details

__construct() public méthode

public __construct ( integer | string $flags )
$flags integer | string

add() public méthode

Add a flag to the value.
public add ( $flags )
$flags

getValue() public méthode

Get the flag integer value.
public getValue ( ) : integer
Résultat integer

has() public méthode

public has ( $flag ) : boolean
$flag
Résultat boolean

hasOrSet() protected méthode

protected hasOrSet ( integer $flag, boolean $action )
$flag integer
$action boolean

remove() public méthode

Remove a flag from the value.
public remove ( $flags )
$flags

Property Details

$flags protected_oe property

protected int $flags
Résultat integer