From 5e4b7f3051bb4fa1e250c59ad2a291a2151b8ed5 Mon Sep 17 00:00:00 2001 From: Ivan Shalganov Date: Tue, 28 Jan 2014 19:49:35 +0200 Subject: [PATCH] Update docs --- docs/settings.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/settings.md b/docs/settings.md index 1a214e4..7df4798 100644 --- a/docs/settings.md +++ b/docs/settings.md @@ -18,13 +18,13 @@ $fenom = Fenom::factory($tpl_dir, $compile_dir, $options); $fenom->setOptions($options); ``` -Параметры могут быть массивом `'option_name' => true` (если ключ не указан автоматически задаётся false) или битовой маской. +Options may by associative array like `'option_name' => true` or bitwise mask. | Code | Constant | Description | Affect | | ---------------------- | ------------------------- | ------------ | ------- | | *disable_methods* | `Fenom::DENY_METHODS` | disable calling methods of objects in templates. | | | *disable_native_funcs* | `Fenom::DENY_INLINE_FUNCS`| disable calling native function in templates, except allowed. | | -| *auto_reload* | `Fenom::AUTO_RELOAD` | reload template if source will be changed | decreases the performance | +| *auto_reload* | `Fenom::AUTO_RELOAD` | reload template if source will be changed | decreases performance | | *force_compile* | `Fenom::FORCE_COMPILE` | recompile template every time when the template renders | greatly decreases performance | | *disable_cache* | `Fenom::DISABLE_CACHE` | disable compile cache | greatly decreases performance | | *force_include* | `Fenom::FORCE_INCLUDE` | paste template body instead of include-tag | increases performance, increases cache size | @@ -44,5 +44,3 @@ $fenom->setOptions(Fenom::AUTO_RELOAD | Fenom::FORCE_INCLUDE); **By default all options disabled** -### Tag options -