PHP 클래스 LdapTools\Connection\LdapControl

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$criticality The criticality of the control.
$oid The OID for the control.
$value The value for the control.

공개 메소드들

메소드 설명
__construct ( string $oid, boolean $criticality = false, mixed | null $value = null )
berEncodeInt ( integer $int ) : string A simple helper to BER encode an int for an ASN.1 structure for a basic LDAP control value.
getCriticality ( ) : boolean Get the criticality for the control.
getOid ( ) : string Get the OID for the control.
getValue ( ) : mixed Get the value for the control.
setCriticality ( boolean $criticality ) Set the criticality for the control.
setOid ( string $oid ) Set the OID for the control.
setValue ( mixed $value ) Set the value for the control.
toArray ( ) : array Get the control array structure that ldap_set_option expects.

메소드 상세

__construct() 공개 메소드

public __construct ( string $oid, boolean $criticality = false, mixed | null $value = null )
$oid string
$criticality boolean
$value mixed | null

berEncodeInt() 공개 정적인 메소드

A simple helper to BER encode an int for an ASN.1 structure for a basic LDAP control value.
public static berEncodeInt ( integer $int ) : string
$int integer
리턴 string The BER encoded ASN.1 structure to use for the LDAP control value.

getCriticality() 공개 메소드

Get the criticality for the control.
public getCriticality ( ) : boolean
리턴 boolean

getOid() 공개 메소드

Get the OID for the control.
public getOid ( ) : string
리턴 string

getValue() 공개 메소드

Get the value for the control.
public getValue ( ) : mixed
리턴 mixed

setCriticality() 공개 메소드

Set the criticality for the control.
public setCriticality ( boolean $criticality )
$criticality boolean

setOid() 공개 메소드

Set the OID for the control.
public setOid ( string $oid )
$oid string

setValue() 공개 메소드

Set the value for the control.
public setValue ( mixed $value )
$value mixed

toArray() 공개 메소드

Get the control array structure that ldap_set_option expects.
public toArray ( ) : array
리턴 array

프로퍼티 상세

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

The criticality of the control.
protected $criticality

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

The OID for the control.
protected $oid

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

The value for the control.
protected $value