PHP 클래스 LdapTools\Utilities\TSPropertyArray

또한 보기: https://msdn.microsoft.com/en-us/library/ff635189.aspx
저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$postBinary string
$signature string
$tsProperty TSProperty[]

공개 메소드들

메소드 설명
__construct ( mixed $tsPropertyArray = null ) Construct in one of the following ways:
add ( TSProperty $tsProperty ) Add a TSProperty object. If it already exists, it will be overwritten.
get ( string $propName ) : TSProperty Get a TSProperty object by its property name (ie. CtxWFProfilePath).
getPostBinary ( ) : string Get any binary data that was after the decoded binary TSPropertyArray data.
getSignature ( ) : string Get the signature value for the TSPropertyArray data.
getTSProperties ( ) : TSProperty[] Get all TSProperty objects.
has ( string $propName ) : boolean Check if a specific TSProperty exists by its property name.
isSignatureValid ( ) : boolean Check whether the signature is valid, thus signifying a valid data structure.
remove ( string $propName ) Remove a TSProperty by its property name (ie. CtxMinEncryptionLevel).
set ( string $propName, mixed $propValue ) Set the value for a specific TSProperty by its name.
toArray ( ) : array Get a simple associative array containing of all TSProperty names and values.
toBinary ( ) : string Get the full binary representation of the userParameters containing the TSPropertyArray data.

보호된 메소드들

메소드 설명
addTSPropData ( string $tsPropertyArray, integer $tsPropCount ) : integer Given the start of TSPropertyArray hex data, and the count for the number of TSProperty structures in contains, parse and split out the individual TSProperty structures. Return the full length of the TSPropertyArray data.
decode ( string $tsPropArray ) : array Given the TSPropertyArray binary data, extract out all of the TSProperty values.
getTsPropObj ( string $propName ) : TSProperty
validateProp ( string $propName )

메소드 상세

__construct() 공개 메소드

- Pass an array of TSProperty key => value pairs (See DEFAULTS constant). - Pass the TSPropertyArray binary value. The object representation of that will be decoded and constructed. - Pass nothing and a default set of TSProperty key => value pairs will be used (See DEFAULTS constant).
public __construct ( mixed $tsPropertyArray = null )
$tsPropertyArray mixed

add() 공개 메소드

Add a TSProperty object. If it already exists, it will be overwritten.
public add ( TSProperty $tsProperty )
$tsProperty TSProperty

addTSPropData() 보호된 메소드

Given the start of TSPropertyArray hex data, and the count for the number of TSProperty structures in contains, parse and split out the individual TSProperty structures. Return the full length of the TSPropertyArray data.
protected addTSPropData ( string $tsPropertyArray, integer $tsPropCount ) : integer
$tsPropertyArray string
$tsPropCount integer
리턴 integer The length of the data in the TSPropertyArray

decode() 보호된 메소드

Given the TSPropertyArray binary data, extract out all of the TSProperty values.
protected decode ( string $tsPropArray ) : array
$tsPropArray string
리턴 array

get() 공개 메소드

Get a TSProperty object by its property name (ie. CtxWFProfilePath).
public get ( string $propName ) : TSProperty
$propName string
리턴 TSProperty

getPostBinary() 공개 메소드

Get any binary data that was after the decoded binary TSPropertyArray data.
public getPostBinary ( ) : string
리턴 string

getSignature() 공개 메소드

Get the signature value for the TSPropertyArray data.
public getSignature ( ) : string
리턴 string

getTSProperties() 공개 메소드

Get all TSProperty objects.
public getTSProperties ( ) : TSProperty[]
리턴 TSProperty[]

getTsPropObj() 보호된 메소드

protected getTsPropObj ( string $propName ) : TSProperty
$propName string
리턴 TSProperty

has() 공개 메소드

Check if a specific TSProperty exists by its property name.
public has ( string $propName ) : boolean
$propName string
리턴 boolean

isSignatureValid() 공개 메소드

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

remove() 공개 메소드

Remove a TSProperty by its property name (ie. CtxMinEncryptionLevel).
public remove ( string $propName )
$propName string

set() 공개 메소드

Set the value for a specific TSProperty by its name.
public set ( string $propName, mixed $propValue )
$propName string
$propValue mixed

toArray() 공개 메소드

Get a simple associative array containing of all TSProperty names and values.
public toArray ( ) : array
리턴 array

toBinary() 공개 메소드

Get the full binary representation of the userParameters containing the TSPropertyArray data.
public toBinary ( ) : string
리턴 string

validateProp() 보호된 메소드

protected validateProp ( string $propName )
$propName string

프로퍼티 상세

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

protected string $postBinary
리턴 string

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

protected string $signature
리턴 string

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

protected TSProperty[],LdapTools\Utilities $tsProperty
리턴 TSProperty[]