Jelix 1.7.18

jEventCompiler
in package
implements jIMultiFileCompiler

Tags
subpackage

events

Interfaces, Classes and Traits

jIMultiFileCompiler
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.

Table of Contents

$eventList  : mixed
__construct()  : mixed
compileItem()  : bool
parse one of needed file.
endCompile()  : mixed
save the results in a temporary file called at the end of the compilation.

Properties

Methods

compileItem()

parse one of needed file.

public compileItem(mixed $sourceFile, mixed $module) : bool
Parameters
$sourceFile : mixed

the file selector

$module : mixed

the module name of the file

Return values
bool

true : process ok

endCompile()

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

public endCompile(mixed $cachefile) : mixed
Parameters
$cachefile : mixed

the name of cache file

Return values
mixed

Search results