PHP Class LdapTools\AttributeConverter\ConvertLockoutTime

See also: https://msdn.microsoft.com/en-us/library/ms676843%28v=vs.85%29.aspx
Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait AttributeConverterTrait
Show file Open project: ldaptools/ldaptools

Public Methods

Method Description
fromLdap ( $value )
toLdap ( $value )

Protected Methods

Method Description
expectsBool ( ) : boolean
getLockDateTime ( DateTime $value ) : string
getQueryValue ( boolean $value ) : bOr | Comparison
getUnlockValue ( boolean $value ) : string

Method Details

expectsBool() protected method

protected expectsBool ( ) : boolean
return boolean

fromLdap() public method

public fromLdap ( $value )

getLockDateTime() protected method

protected getLockDateTime ( DateTime $value ) : string
$value DateTime
return string

getQueryValue() protected method

protected getQueryValue ( boolean $value ) : bOr | Comparison
$value boolean
return LdapTools\Query\Operator\bOr | LdapTools\Query\Operator\Comparison

getUnlockValue() protected method

protected getUnlockValue ( boolean $value ) : string
$value boolean
return string

toLdap() public method

public toLdap ( $value )