PHP Класс LdapTools\Utilities\GPOLink

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$gpo The GPO (name, DN, SID, or GUID)
$options The GPO options bit flags

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

Метод Описание
__construct ( string | LdapObject $gpo, integer $options )
__toString ( ) : string
getGpo ( ) : string | LdapObject Get the GPO for the link.
getIsEnabled ( ) : boolean Get whether the GPO link is enabled.
getIsEnforced ( ) : boolean Get whether the GPO is enforced.
getOptionsFlag ( ) : integer Get the GPO options bit flags.
setGpo ( string | LdapObject $gpo ) Set the GPO for the link.
setIsEnabled ( boolean $isEnabled ) : GPOLink Set whether the GPO link is enabled.
setIsEnforced ( boolean $isEnforced ) : GPOLink Set whether the GPO is enforced.
setOptionsFlag ( integer $options ) Set the GPO options bit flags.

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

Метод Описание
isOptionFlagSet ( integer $flag ) : boolean A quick check to determine if an option flag is already set.
modifyOptions ( boolean $action, integer $int ) Modifies a specific bit in the options flag. Ignores it if it is already set to the desired action.

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

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

public __construct ( string | LdapObject $gpo, integer $options )
$gpo string | LdapTools\Object\LdapObject The GPO (name, DN, SID, GUID, or LdapObject)
$options integer The GPO options bit flags

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

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

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

Get the GPO for the link.
public getGpo ( ) : string | LdapObject
Результат string | LdapTools\Object\LdapObject

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

Get whether the GPO link is enabled.
public getIsEnabled ( ) : boolean
Результат boolean

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

Get whether the GPO is enforced.
public getIsEnforced ( ) : boolean
Результат boolean

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

Get the GPO options bit flags.
public getOptionsFlag ( ) : integer
Результат integer

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

A quick check to determine if an option flag is already set.
protected isOptionFlagSet ( integer $flag ) : boolean
$flag integer
Результат boolean

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

Modifies a specific bit in the options flag. Ignores it if it is already set to the desired action.
protected modifyOptions ( boolean $action, integer $int )
$action boolean
$int integer

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

Set the GPO for the link.
public setGpo ( string | LdapObject $gpo )
$gpo string | LdapTools\Object\LdapObject

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

Set whether the GPO link is enabled.
public setIsEnabled ( boolean $isEnabled ) : GPOLink
$isEnabled boolean
Результат GPOLink

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

Set whether the GPO is enforced.
public setIsEnforced ( boolean $isEnforced ) : GPOLink
$isEnforced boolean
Результат GPOLink

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

Set the GPO options bit flags.
public setOptionsFlag ( integer $options )
$options integer

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

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

The GPO (name, DN, SID, or GUID)
protected $gpo

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

The GPO options bit flags
protected $options