source/core/datastore/types/mail/MImapDatastore.php
public function getNextWebfileForTimestamp($time)
    {
        $webfiles = $this->getWebfilesAsStream()->getWebfiles();

        ksort($webfiles);

        foreach ($webfiles as $key => $value) {
            if ($key > $time) {
                return $value;
            }
        }
        return null;
    }
public function getNextWebfileForTimestamp($time)
    {
        $webfiles = $this->getWebfilesAsStream()->getWebfiles();

        ksort($webfiles);

        foreach ($webfiles as $key => $value) {
            if ($key > $time) {
                return $value;
            }
        }
        return null;
    }
public function getNextWebfileForTimestamp ( $ time ) { $ webfiles = $ this -> getWebfilesAsStream ( ) -> getWebfiles ( ) ; ksort ( $ webfiles ) ; foreach ( $ webfiles as $ key => $ value ) { if ( $ key > $ time ) { return $ value ; } } return null ; }
According to the given timestamp the next matching webfile will be searched and returned.
@param int $time
@return MWebfile
According to the given timestamp the next matching webfile will be searched and returned .