PHP Class LdapTools\Utilities\UserParameters

Author: Chad Sikorra ([email protected])
Show file Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$dialInData DialInData | null
$postBinary Binary data that occurs after the TSPropertyArray data.
$preBinary Binary data that occurs before the dial-in data.
$tsPropertyArray TSPropertyArray | null

Public Methods

Method Description
__construct ( null | string | TSPropertyArray | DialInData $userParameters = null )
getDialInData ( ) : DialInData | null Get the DialInData.
getPostBinary ( ) : string Get the binary data that comes after the TSPropertyArray data.
getReservedDataString ( ) : string Get the decoded reserved data string, if any is set. These values don't seem to be documented anywhere.
getTSPropertyArray ( ) : TSPropertyArray | null Get the TSPropertyArray data.
setDialInData ( DialInData $dialInData = null ) Set the DialInData.
setPostBinary ( string $binary ) Set the binary data that should come after the TSPropertyArray data. This needs to be in binary form, not hex.
setTSPropertyArray ( TSPropertyArray $tsPropertyArray = null ) Set the TSPropertyArray data.
toBinary ( ) : string Get the userParameters in binary form that can be saved back to LDAP.

Protected Methods

Method Description
decode ( string $userParameters )
encodeReservedData ( string $reserved = '' ) : string Encode the string of reserved data that goes in the first 44 bytes.

Method Details

__construct() public method

public __construct ( null | string | TSPropertyArray | DialInData $userParameters = null )
$userParameters null | string | TSPropertyArray | DialInData

decode() protected method

protected decode ( string $userParameters )
$userParameters string

encodeReservedData() protected method

Encode the string of reserved data that goes in the first 44 bytes.
protected encodeReservedData ( string $reserved = '' ) : string
$reserved string
return string

getDialInData() public method

Get the DialInData.
public getDialInData ( ) : DialInData | null
return DialInData | null

getPostBinary() public method

Get the binary data that comes after the TSPropertyArray data.
public getPostBinary ( ) : string
return string

getReservedDataString() public method

Get the decoded reserved data string, if any is set. These values don't seem to be documented anywhere.
public getReservedDataString ( ) : string
return string

getTSPropertyArray() public method

Get the TSPropertyArray data.
public getTSPropertyArray ( ) : TSPropertyArray | null
return TSPropertyArray | null

setDialInData() public method

Set the DialInData.
public setDialInData ( DialInData $dialInData = null )
$dialInData DialInData

setPostBinary() public method

Set the binary data that should come after the TSPropertyArray data. This needs to be in binary form, not hex.
public setPostBinary ( string $binary )
$binary string

setTSPropertyArray() public method

Set the TSPropertyArray data.
public setTSPropertyArray ( TSPropertyArray $tsPropertyArray = null )
$tsPropertyArray TSPropertyArray

toBinary() public method

Get the userParameters in binary form that can be saved back to LDAP.
public toBinary ( ) : string
return string

Property Details

$dialInData protected property

protected DialInData,LdapTools\Utilities|null $dialInData
return DialInData | null

$postBinary protected property

Binary data that occurs after the TSPropertyArray data.
protected $postBinary

$preBinary protected property

Binary data that occurs before the dial-in data.
protected $preBinary

$tsPropertyArray protected property

protected TSPropertyArray,LdapTools\Utilities|null $tsPropertyArray
return TSPropertyArray | null