protected function loadExistingArchiveIdFromDb()
    {
        $noArchiveFound = array(false, false, false);

        // see isArchiveTemporary()
        $minDatetimeArchiveProcessedUTC = $this->getMinTimeArchiveProcessed();

        if ($this->isArchivingForcedToTrigger()) {
            return $noArchiveFound;
        }

        $idAndVisits = ArchiveSelector::getArchiveIdAndVisits($this->params, $minDatetimeArchiveProcessedUTC);

        if (!$idAndVisits) {
            return $noArchiveFound;
        }

        return $idAndVisits;
    }
protected function loadExistingArchiveIdFromDb()
    {
        $noArchiveFound = array(false, false, false);

        // see isArchiveTemporary()
        $minDatetimeArchiveProcessedUTC = $this->getMinTimeArchiveProcessed();

        if ($this->isArchivingForcedToTrigger()) {
            return $noArchiveFound;
        }

        $idAndVisits = ArchiveSelector::getArchiveIdAndVisits($this->params, $minDatetimeArchiveProcessedUTC);

        if (!$idAndVisits) {
            return $noArchiveFound;
        }

        return $idAndVisits;
    }
protected function loadExistingArchiveIdFromDb ( ) { $ noArchiveFound = array ( false , false , false ) ; // see isArchiveTemporary() $ minDatetimeArchiveProcessedUTC = $ this -> getMinTimeArchiveProcessed ( ) ; if ( $ this -> isArchivingForcedToTrigger ( ) ) { return $ noArchiveFound ; } $ idAndVisits = ArchiveSelector :: getArchiveIdAndVisits ( $ this -> params , $ minDatetimeArchiveProcessedUTC ) ; if ( ! $ idAndVisits ) { return $ noArchiveFound ; } return $ idAndVisits ; }
Returns the idArchive if the archive is available in the database for the requested plugin.
Returns false if the archive needs to be processed.

@return array
Returns the idArchive if the archive is available in the database for the requested plugin . Returns false if the archive needs to be processed .