jIMultiFileCompiler

Extends

interface for compiler which needs many source files The PHP file generated by the compiler should check itself if it is still valid. The file should have a "return" statement with a boolean : true if it is ok, false if it should be recompiled.

package

jelix

subpackage

core

Methods

parse one of needed file

compileItem(string $sourceFile, string $module) : boolean

Arguments

$sourceFile

string

the file selector

$module

string

the module name of the file

Response

boolean

true : process ok

save the results in a temporary file called at the end of the compilation.

endCompile(string $cachefile) 

Arguments

$cachefile

string

the name of cache file