/** * Loads a file object from the filearchive table * * @param stdClass $row * @return ArchivedFile */ public static function newFromRow($row) { $file = new ArchivedFile(Title::makeTitle(NS_FILE, $row->fa_name)); $file->loadFromRow($row); return $file; }