src/LdapTools/Utilities/ADTimeSpan.php
public function getLdapValue()
    {
        if ($this->never) {
            $value = self::NEVER;
        } else {
            $total = 0;
            foreach (self::UNIT as $unit => $conversion) {
                $total += $this->$unit * $conversion;
            }
            $value = number_format($total, 0, '.', '');
        }

        return $value;
    }
public function getLdapValue()
    {
        if ($this->never) {
            $value = self::NEVER;
        } else {
            $total = 0;
            foreach (self::UNIT as $unit => $conversion) {
                $total += $this->$unit * $conversion;
            }
            $value = number_format($total, 0, '.', '');
        }

        return $value;
    }
public function getLdapValue ( ) { if ( $ this -> never ) { $ value = self :: NEVER ; } else { $ total = 0 ; foreach ( self :: UNIT as $ unit => $ conversion ) { $ total += $ this -> $ unit * $ conversion ; } $ value = number_format ( $ total , 0 , '.' , '' ) ; } return $ value ; }
Get the value of all the time units in the format that LDAP expects it in.

@return string
Get the value of all the time units in the format that LDAP expects it in .