You are here

function apachesolr_confgen_zipfile::output in Apache Solr Config Generator 8

Same name and namespace in other branches
  1. 6 lib/apachesolr_confgen_zipfile.php \apachesolr_confgen_zipfile::output()
  2. 7 lib/apachesolr_confgen_zipfile.php \apachesolr_confgen_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_confgen_zipfile.php, line 282
Zip file creation class to pack Apache Solr configuration files

Class

apachesolr_confgen_zipfile
Zip file creation class. Makes zip files.

Code

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