Go to the source code of this file.
Classes | |
| class | dbxObj |
| Gemeinsame Basisklasse fuer dbXapp-System-, Modul- und Include-Objekte. More... | |
| class | dbxTPLRawCacheTestApi |
Functions | |
| dbx () | |
Variables | |
| $_SESSION = array('dbx' => array('cache' => array('tpl' => array()))) | |
| $tpl = new dbxTPL() | |
| $first = $tpl->get_tpl('dbx|test-dbx-runtime-cache', array()) | |
| if(trim($first) !=='first') | $cached = $_SESSION['dbx']['cache']['tpl']['dbx']['test-dbx-runtime-cache']['htm']['']['tpl'] ?? '' |
| $second = $tpl->get_tpl('dbx|test-dbx-runtime-cache', array()) | |
| if(trim($second) !=='second') | $design = $tpl->get_design_tpl('test', '1', 'de', 'htm', 0) |
| if(trim($design) !=='visible') | $tempRoot = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'dbx-tpl-cache-' . bin2hex(random_bytes(6)) |
| $tempTplDir | |
| if(!mkdir($tempTplDir, 0777, true) &&!is_dir($tempTplDir)) | $tempTpl = $tempTplDir . DIRECTORY_SEPARATOR . 'test-source-change.htm' |
| $_SESSION ['dbx']['cache']['tpl'] = array() | |
| $sourceFirst = $tpl->get_tpl('dbx|test-source-change', array()) | |
| $sourceSecond = $tpl->get_tpl('dbx|test-source-change', array()) | |
| if ( $sourceFirst !=='erste Version'||$sourceSecond !=='zweite, laengere Version') | |
| dbx | ( | ) |
Definition at line 83 of file dbxTPL_raw_cache_test.php.
References $api.
| $_SESSION[ 'dbx'][ 'cache'][ 'tpl'] = array() |
Definition at line 134 of file dbxTPL_raw_cache_test.php.
| $_SESSION = array('dbx' => array('cache' => array('tpl' => array()))) |
Definition at line 92 of file dbxTPL_raw_cache_test.php.
| if (trim( $first) !=='first') $cached = $_SESSION['dbx']['cache']['tpl']['dbx']['test-dbx-runtime-cache']['htm']['']['tpl'] ?? '' |
Definition at line 104 of file dbxTPL_raw_cache_test.php.
Referenced by dbx\dbxAdmin\dbxUpdateService\check(), dbxTPL\read_tpl(), dbx\dbxMenu\dbxContent_menu\render_placeholder(), dbx\dbxMenu\dbxContent_menu\run(), and dbx\dbxAdmin\dbxUpdateService\status().
| if (trim( $second) !=='second') $design = $tpl->get_design_tpl('test', '1', 'de', 'htm', 0) |
Definition at line 118 of file dbxTPL_raw_cache_test.php.
Referenced by dbxWebApp\check_design(), dbxWebApp\check_remember(), dbx_is_page(), dbxWebApp\design_load(), dbx\dbxContent\dbxContentPageCache\fullPagePath(), get_design_skin_ids(), dbxTPL\get_design_tpl(), dbxTPL\get_design_tpl_dir_file(), get_skin_css(), is_design(), normalize_skin(), dbx\dbxDesign_admin\dbxDesignAdmin\renderList(), dbxTPL\replace_design_slots(), dbx\dbxMenu\run(), dbxWebApp\run(), and dbxSession\save_session().
Definition at line 97 of file dbxTPL_raw_cache_test.php.
Referenced by parse_url(), and dbxForm\url_to_array().
Definition at line 111 of file dbxTPL_raw_cache_test.php.
| $sourceFirst = $tpl->get_tpl('dbx|test-source-change', array()) |
Definition at line 136 of file dbxTPL_raw_cache_test.php.
| $sourceSecond = $tpl->get_tpl('dbx|test-source-change', array()) |
Definition at line 139 of file dbxTPL_raw_cache_test.php.
| if (trim( $design) !=='visible') $tempRoot = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'dbx-tpl-cache-' . bin2hex(random_bytes(6)) |
Definition at line 124 of file dbxTPL_raw_cache_test.php.
| if (!mkdir( $tempTplDir, 0777, true) &&!is_dir( $tempTplDir)) $tempTpl = $tempTplDir . DIRECTORY_SEPARATOR . 'test-source-change.htm' |
Definition at line 131 of file dbxTPL_raw_cache_test.php.
| $tempTplDir |
Definition at line 125 of file dbxTPL_raw_cache_test.php.
| $tpl = new dbxTPL() |
Definition at line 96 of file dbxTPL_raw_cache_test.php.
| if($sourceFirst !=='erste Version'|| $sourceSecond !=='zweite, laengere Version') | ( | $sourceFirst ! = = 'erste Version' || $sourceSecond !== 'zweite, | |
| laengere Version' | ) |
Definition at line 149 of file dbxTPL_raw_cache_test.php.