PHP 클래스 LdapTools\Utilities\DialInData

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

보호된 프로퍼티들

프로퍼티 타입 설명
$callbackPhoneNumber Hex representation of a phone number configured for the user on which the answerer should call back.
$signature string
$userPrivilege Dial-in bit-mask (NoCallback = 1, AdminSetCallback = 2, CallerSetCallback = 4, DialinPrivilege = 8)

공개 메소드들

메소드 설명
__construct ( string | null $dialInData = null )
getCallbackPhoneNumber ( ) : string Get the CallbackPhoneNumber as a hex value. The encoding process for this value is currently unknown.
getSignature ( ) : string Get the signature value for the dial-in data.
getUserPrivilege ( ) : integer Get the UserPrivilege bit-mask.
isSignatureValid ( ) : boolean Check whether the signature is valid, thus signifying a valid data structure.
setCallbackPhoneNumber ( string $callbackPhoneNumber ) Set the CallbackPhoneNumber as a hex value. The encoding process for this value is currently unknown.
setUserPrivilege ( integer $userPrivilege ) Set the UserPrivilege bit-mask.
toBinary ( ) : string Get the binary representation of the dial-in data for the userParameters value.

보호된 메소드들

메소드 설명
dec2hex ( integer $int, integer $padLength = 2 ) : string Need to make sure hex values are always an even length, so pad as needed.
decode ( string $binary ) Decode and parse the binary dial-in data from the userParameters attribute (the data between 44 and 96 bytes).

메소드 상세

__construct() 공개 메소드

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

dec2hex() 보호된 메소드

Need to make sure hex values are always an even length, so pad as needed.
protected dec2hex ( integer $int, integer $padLength = 2 ) : string
$int integer
$padLength integer The hex string must be padded to this length (with zeros).
리턴 string

decode() 보호된 메소드

Decode and parse the binary dial-in data from the userParameters attribute (the data between 44 and 96 bytes).
protected decode ( string $binary )
$binary string

getCallbackPhoneNumber() 공개 메소드

Get the CallbackPhoneNumber as a hex value. The encoding process for this value is currently unknown.
public getCallbackPhoneNumber ( ) : string
리턴 string

getSignature() 공개 메소드

Get the signature value for the dial-in data.
public getSignature ( ) : string
리턴 string

getUserPrivilege() 공개 메소드

Get the UserPrivilege bit-mask.
public getUserPrivilege ( ) : integer
리턴 integer

isSignatureValid() 공개 메소드

Check whether the signature is valid, thus signifying a valid data structure.
public isSignatureValid ( ) : boolean
리턴 boolean

setCallbackPhoneNumber() 공개 메소드

Set the CallbackPhoneNumber as a hex value. The encoding process for this value is currently unknown.
public setCallbackPhoneNumber ( string $callbackPhoneNumber )
$callbackPhoneNumber string

setUserPrivilege() 공개 메소드

Set the UserPrivilege bit-mask.
public setUserPrivilege ( integer $userPrivilege )
$userPrivilege integer

toBinary() 공개 메소드

Get the binary representation of the dial-in data for the userParameters value.
public toBinary ( ) : string
리턴 string

프로퍼티 상세

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

Hex representation of a phone number configured for the user on which the answerer should call back.
protected $callbackPhoneNumber

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

protected string $signature
리턴 string

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

Dial-in bit-mask (NoCallback = 1, AdminSetCallback = 2, CallerSetCallback = 4, DialinPrivilege = 8)
protected $userPrivilege