Located in File: /plainTemplates.php
static $cacheDir = './cache/' (line 23)
static $cacheTimeout = false (line 49)
Generally uneeded because of checking templates modification time. False (default) means no timeout.
static $dataSelectors = array(
static $debug = false (line 17)
static $fixWebRoot = '' (line 92)
static $monitorCodeModification = true (line 35)
Use it only on developement enviroment as it runs debug_backtrace() every time.
static $monitorTemplateModification = true (line 29)
Can be turned off for performance reasons on production enviroment.
static $print = true (line 54)
static $replace = array(
static $templatesDir = '' (line 40)
static $tidyConfig = array(
static $useTidy = false (line 62)
Tidy is included with every PHP5 installation, but it has be manually activated into php.ini. However there are several issues with Tidy at this time.
static $_template = null (line 101)
Static Method checkCache (line 466)
Static Method cleanCacheName (line 493)
Static Method createTemplate (line 122)
If You want to insert DB data into template use $data and $dataSelectors. You can apply callback on result with $callback.
Static Method getCachePaths (line 481)
Static Method getTemplate (line 171)
Returns false if cache isn't up-to-date.
Static Method includePhpQuery (line 527)
Static Method insertData (line 365)
Static Method insertRow (line 420)
Static Method isPhpQuery (line 524)
Static Method mapDepends (line 354)
Static Method parseIncludes (line 290)
Static Method PXTtoPHP (line 496)
Static Method removeIncludes (line 324)
Static Method saveTemplate (line 223)
If You want to use self::$fixWebRoot You have to pass phpQueryClass object directly. CAUTION: this method will call unload() on passed phpQuery object, so You cant use it futher. Use $unloadDocument to avoid this.
Static Method srcFilePath (line 357)
Method clearCache (line 335)
Returns number of deleted files.
Method runCallback (line 345)