public function get_archived_plugin_version($component, $version) {

        if (empty($component) or empty($version)) {
            return false;
        }

        $archzip = $this->temproot.'/archive/'.$component.'/'.$version.'.zip';

        if (file_exists($archzip)) {
            return $archzip;
        }

        return false;
    }
public function get_archived_plugin_version($component, $version) {

        if (empty($component) or empty($version)) {
            return false;
        }

        $archzip = $this->temproot.'/archive/'.$component.'/'.$version.'.zip';

        if (file_exists($archzip)) {
            return $archzip;
        }

        return false;
    }
public function get_archived_plugin_version ( $ component , $ version ) { if ( empty ( $ component ) or empty ( $ version ) ) { return false ; } $ archzip = $ this -> temproot . '/archive/' . $ component . '/' . $ version . '.zip' ; if ( file_exists ( $ archzip ) ) { return $ archzip ; } return false ; }
Return the path to the ZIP file with the archive of the given plugin version.

@param string $component
@param int $version
@return string|bool false if not found, full path otherwise
Return the path to the ZIP file with the archive of the given plugin version .