You are here

function apachesolr_multilingual_zipfile::output in Apache Solr Multilingual 6

Same name and namespace in other branches
  1. 6.2 lib/apachesolr_multilingual_zipfile.php \apachesolr_multilingual_zipfile::output()

A Wrapper of original file Function

Created By Hasin Hayder at 29th Jan, 1:29 AM

@access public

Parameters

string Output file name:

File

lib/apachesolr_multilingual_zipfile.php, line 282
Zip file creation class to pack Apache Solr Multilingual configuration fioles.

Class

apachesolr_multilingual_zipfile
Zip file creation class. Makes zip files.

Code

function output($file) {
  $fp = fopen($file, "w");
  fwrite($fp, $this
    ->file());
  fclose($fp);
}