This object is responsible to load cache files.
Some jelix files needs to be compiled in PHP (templates, daos etc..) and their correspondant php content are stored in a cache file. jIncluder verify that cache file exists, and if not, it calls the correspondant compiler. Finally, it includes the cache.
2001-2012 Laurent Jouanneau
GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html .
Table of Contents
- $_includedFiles : array<string|int, mixed>
- list of loaded cache file.
- incAll() : mixed
- include a cache file which is the results of the compilation of multiple file sotred in multiple modules
- __construct() : mixed
- This is a static class, so private constructor
list of loaded cache file.
protected static array<string|int, mixed> $_includedFiles = array()
It avoids to do all verification when a file is include many time
include a cache file which is the results of the compilation of multiple file sotred in multiple modules
public static incAll(array<string|int, mixed> $aType[, mixed $force = false ]) : mixed
- $aType : array<string|int, mixed>
= array( 'compilator class name', 'relative path of the compilator class file to lib/jelix/', 'foo.xml', // file name to compile (in each modules) 'foo.php', //cache filename );
- $force : mixed = false
Return valuesmixed —
This is a static class, so private constructor
private __construct() : mixed