PHP 클래스 LdapTools\AttributeConverter\ConvertValueToDn

저자: Chad Sikorra ([email protected])
상속: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait AttributeConverterTrait, use trait LdapTools\Utilities\ConverterUtilitiesTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

공개 메소드들

메소드 설명
fromLdap ( $dn )
toLdap ( $value )

보호된 메소드들

메소드 설명
buildLdapQuery ( array $filter, boolean $isOrFilter, string $toSelect ) : LdapQueryBuilder Builds the part the of the query with the specific object class/value to search on.
getAttributeFromLdapQuery ( string $value, string $toSelect ) : string Attempt to look-up the attribute from a LDAP query based on the value.
getDnFromValue ( string $value ) : string Given a value try to determine how to get its full distinguished name.
getOptionsArray ( ) : array Validates and retrieves the options array for the current attribute.
getQueryOrStatement ( LdapQueryBuilder $query, string $value ) : bOr
validateCurrentAttribute ( ) Make sure that the current attribute has actually been defined.

메소드 상세

buildLdapQuery() 보호된 메소드

Builds the part the of the query with the specific object class/value to search on.
protected buildLdapQuery ( array $filter, boolean $isOrFilter, string $toSelect ) : LdapQueryBuilder
$filter array
$isOrFilter boolean
$toSelect string
리턴 LdapTools\Query\LdapQueryBuilder

fromLdap() 공개 메소드

public fromLdap ( $dn )

getAttributeFromLdapQuery() 보호된 메소드

Attempt to look-up the attribute from a LDAP query based on the value.
protected getAttributeFromLdapQuery ( string $value, string $toSelect ) : string
$value string
$toSelect string
리턴 string The distinguished name.

getDnFromValue() 보호된 메소드

Given a value try to determine how to get its full distinguished name.
protected getDnFromValue ( string $value ) : string
$value string
리턴 string $dn

getOptionsArray() 보호된 메소드

Validates and retrieves the options array for the current attribute.
protected getOptionsArray ( ) : array
리턴 array

getQueryOrStatement() 보호된 메소드

protected getQueryOrStatement ( LdapQueryBuilder $query, string $value ) : bOr
$query LdapTools\Query\LdapQueryBuilder
$value string
리턴 LdapTools\Query\Operator\bOr

toLdap() 공개 메소드

public toLdap ( $value )

validateCurrentAttribute() 보호된 메소드

Make sure that the current attribute has actually been defined.
protected validateCurrentAttribute ( )