Example #1
0
 /**
  * Function: ScriptJoiner
  *
  * The constructor
  */
 public function ScriptJoiner($masterfile = null, $outfile = null)
 {
     parent::__construct();
     # Initialize:
     if ($masterfile) {
         $this->setMasterfile($masterfile);
     }
     $this->outfile = $outfile;
     $this->comments = true;
     $this->includedFiles = array();
 }
Example #2
0
 /**
  * Function: __construct
  *
  * The constructor
  */
 public function __construct($masterfile = null, $outfile = null)
 {
     parent::__construct();
     # Initialize:
     if ($masterfile) {
         $this->setMasterfile($masterfile);
     }
     $this->outfile = $outfile;
     $this->comments = true;
     $this->mergeScripts = false;
     $this->filesToMerge = false;
     $this->includedFiles = $this->definedFunctions = $this->calledFunctions = $this->undefineFunctions = array();
     $this->inlineHTMLBlocksCount = 0;
 }