PHP Class LdapTools\Security\Flags

Author: Chad Sikorra ([email protected])
ファイルを表示 Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$flags integer

Public Methods

Method 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.

Protected Methods

Method Description
hasOrSet ( integer $flag, boolean $action )

Method Details

__construct() public method

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

add() public method

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

getValue() public method

Get the flag integer value.
public getValue ( ) : integer
return integer

has() public method

public has ( $flag ) : boolean
$flag
return boolean

hasOrSet() protected method

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

remove() public method

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

Property Details

$flags protected_oe property

protected int $flags
return integer