├── .gitignore ├── .gitmodules ├── LICENSE ├── README.markdown ├── code └── Monotek │ └── MiniTPL │ ├── Compiler.php │ ├── Hook.php │ └── Template.php ├── composer.json ├── documentation ├── documentation_en.markdown └── documentation_sl.markdown ├── phpunit.xml └── test ├── .gitignore ├── TemplateTest.php ├── bootstrap.php ├── compiled ├── 01_variable.tpl ├── 02_arrays.tpl ├── 03_modifiers.tpl ├── 04_objects.tpl ├── 05_constants.tpl ├── 06_includes.tpl ├── 07_eval.tpl ├── 08_utf8_bom.tpl ├── 09_blocks_and_includes.tpl ├── 10_literal_blocks.tpl ├── 11_expressions.tpl ├── 12_global_objects.tpl └── 13_foreach_array.tpl ├── templates ├── 01_variable.tpl ├── 02_arrays.tpl ├── 03_modifiers.tpl ├── 04_objects.tpl ├── 05_constants.tpl ├── 06_includes.tpl ├── 07_eval.tpl ├── 08_utf8_bom.tpl ├── 09_blocks_and_includes.tpl ├── 10_literal_blocks.tpl ├── 11_expressions.tpl ├── 12_global_objects.tpl └── 13_foreach_array.tpl └── templates2 └── fail_to_compile.tpl /.gitignore: -------------------------------------------------------------------------------- 1 | /composer.lock 2 | /test/compile 3 | /vendor 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/README.markdown -------------------------------------------------------------------------------- /code/Monotek/MiniTPL/Compiler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/code/Monotek/MiniTPL/Compiler.php -------------------------------------------------------------------------------- /code/Monotek/MiniTPL/Hook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/code/Monotek/MiniTPL/Hook.php -------------------------------------------------------------------------------- /code/Monotek/MiniTPL/Template.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/code/Monotek/MiniTPL/Template.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/composer.json -------------------------------------------------------------------------------- /documentation/documentation_en.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/documentation/documentation_en.markdown -------------------------------------------------------------------------------- /documentation/documentation_sl.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/documentation/documentation_sl.markdown -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/phpunit.xml -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | coverage 2 | -------------------------------------------------------------------------------- /test/TemplateTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/TemplateTest.php -------------------------------------------------------------------------------- /test/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/bootstrap.php -------------------------------------------------------------------------------- /test/compiled/01_variable.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/01_variable.tpl -------------------------------------------------------------------------------- /test/compiled/02_arrays.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/02_arrays.tpl -------------------------------------------------------------------------------- /test/compiled/03_modifiers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/03_modifiers.tpl -------------------------------------------------------------------------------- /test/compiled/04_objects.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/04_objects.tpl -------------------------------------------------------------------------------- /test/compiled/05_constants.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/05_constants.tpl -------------------------------------------------------------------------------- /test/compiled/06_includes.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/06_includes.tpl -------------------------------------------------------------------------------- /test/compiled/07_eval.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/07_eval.tpl -------------------------------------------------------------------------------- /test/compiled/08_utf8_bom.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/08_utf8_bom.tpl -------------------------------------------------------------------------------- /test/compiled/09_blocks_and_includes.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/09_blocks_and_includes.tpl -------------------------------------------------------------------------------- /test/compiled/10_literal_blocks.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/10_literal_blocks.tpl -------------------------------------------------------------------------------- /test/compiled/11_expressions.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/11_expressions.tpl -------------------------------------------------------------------------------- /test/compiled/12_global_objects.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/12_global_objects.tpl -------------------------------------------------------------------------------- /test/compiled/13_foreach_array.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/compiled/13_foreach_array.tpl -------------------------------------------------------------------------------- /test/templates/01_variable.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/01_variable.tpl -------------------------------------------------------------------------------- /test/templates/02_arrays.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/02_arrays.tpl -------------------------------------------------------------------------------- /test/templates/03_modifiers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/03_modifiers.tpl -------------------------------------------------------------------------------- /test/templates/04_objects.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/04_objects.tpl -------------------------------------------------------------------------------- /test/templates/05_constants.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/05_constants.tpl -------------------------------------------------------------------------------- /test/templates/06_includes.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/06_includes.tpl -------------------------------------------------------------------------------- /test/templates/07_eval.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/07_eval.tpl -------------------------------------------------------------------------------- /test/templates/08_utf8_bom.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/08_utf8_bom.tpl -------------------------------------------------------------------------------- /test/templates/09_blocks_and_includes.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/09_blocks_and_includes.tpl -------------------------------------------------------------------------------- /test/templates/10_literal_blocks.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/10_literal_blocks.tpl -------------------------------------------------------------------------------- /test/templates/11_expressions.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/11_expressions.tpl -------------------------------------------------------------------------------- /test/templates/12_global_objects.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/12_global_objects.tpl -------------------------------------------------------------------------------- /test/templates/13_foreach_array.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/titpetric/minitpl/HEAD/test/templates/13_foreach_array.tpl -------------------------------------------------------------------------------- /test/templates2/fail_to_compile.tpl: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------