PHP 클래스 LdapTools\Security\GUID

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$guid The string representation of the GUID.
$guidSections The guid structure in order by section to parse using substr().
$octetSections The hexadecimal octet order based on string position.

공개 메소드들

메소드 설명
__construct ( string $guid )
__toString ( ) : string
toBinary ( ) : string Get the binary representation of the GUID string.
toString ( ) : string Get the friend string form of the GUID.

보호된 메소드들

메소드 설명
decodeFromBinary ( string $guid )
parseSection ( $hex, array $sections, boolean $octet = false ) : string Return the specified section of the hexadecimal string.

메소드 상세

__construct() 공개 메소드

public __construct ( string $guid )
$guid string

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

decodeFromBinary() 보호된 메소드

protected decodeFromBinary ( string $guid )
$guid string

parseSection() 보호된 메소드

Return the specified section of the hexadecimal string.
protected parseSection ( $hex, array $sections, boolean $octet = false ) : string
$hex string The full hex string.
$sections array An array of start and length (unless octet is true, then length is always 2).
$octet boolean Whether this is for octet string form.
리턴 string The concatenated sections in upper-case.

toBinary() 공개 메소드

Get the binary representation of the GUID string.
public toBinary ( ) : string
리턴 string

toString() 공개 메소드

Get the friend string form of the GUID.
public toString ( ) : string
리턴 string

프로퍼티 상세

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

The string representation of the GUID.
protected $guid

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

The guid structure in order by section to parse using substr().
protected $guidSections

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

The hexadecimal octet order based on string position.
protected $octetSections