DNDataArchive::validateArchiveContents
Validate that an sspak contains the correct content.
For example, if the user uploaded an sspak containing just the db, but declared in the form that it contained db+assets, then the archive is not valid.
Signature
public function validateArchiveContents([string
$mode = NULL] )
Parameters
$mode
— string- "db", "assets", or "all". This is the content we're checking for. Default to the archive setting
Returns
- ValidationResult