Overview
Comment: | Brindille: make variables array public |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
88b698b997c0364c7705efe1a74be16e |
User & Date: | bohwaz on 2023-04-16 22:28:12 |
Other Links: | manifest | tags |
Context
2023-04-17
| ||
00:35 | ODS Export from HTML: implement more optimizations, to get up to 40% speed gain check-in: 97d8d608ee user: bohwaz tags: trunk | |
2023-04-16
| ||
22:28 | Brindille: make variables array public check-in: 88b698b997 user: bohwaz tags: trunk | |
10:05 | CSSParser: implement caching of nodes, speeds things up to 3 times! check-in: 545a52d7de user: bohwaz tags: trunk | |
Changes
Modified src/lib/KD2/Brindille.php from [ff7d12fff4] to [9544f8ab7c].
︙ | ︙ | |||
81 82 83 84 85 86 87 | protected $_sections = []; // Escape is the only mandatory modifier protected $_modifiers = ['escape' => 'htmlspecialchars']; protected $_functions = []; protected $_blocks = []; | | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | protected $_sections = []; // Escape is the only mandatory modifier protected $_modifiers = ['escape' => 'htmlspecialchars']; protected $_functions = []; protected $_blocks = []; public $_variables = [0 => []]; public function registerDefaults() { $this->registerFunction('assign', [self::class, '__assign']); // This is because PHP 8.1 sucks (string functions no longer accept NULL) // so we need to force NULLs as strings |
︙ | ︙ |