PHP Class LdapTools\AttributeConverter\ConvertGeneralizedTime

Inheritance: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait AttributeConverterTrait
Afficher le fichier Open project: ldaptools/ldaptools

Méthodes publiques

Méthode Description
fromLdap ( $timestamp )
toLdap ( $date )

Méthodes protégées

Méthode Description
getTzOffsetForTimestamp ( string $tzOffset ) : string Get the timezone offset that will be appended to the timestamp.

Method Details

fromLdap() public méthode

public fromLdap ( $timestamp )

getTzOffsetForTimestamp() protected méthode

Get the timezone offset that will be appended to the timestamp.
protected getTzOffsetForTimestamp ( string $tzOffset ) : string
$tzOffset string As given from the \DateTime object.
Résultat string

toLdap() public méthode

public toLdap ( $date )