Update docs

This commit is contained in:
Ivan Shalganov 2014-01-28 19:46:23 +02:00
parent 2c0ac60c14
commit c6abbdb328

View File

@ -22,16 +22,16 @@ $fenom->setOptions($options);
| Code | Constant | Description | Affect | | Code | Constant | Description | Affect |
| ---------------------- | ------------------------- | ------------ | ------- | | ---------------------- | ------------------------- | ------------ | ------- |
| `disable_methods` | `Fenom::DENY_METHODS` | disable calling methods of objects in templates. | | | *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. | | | *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 the performance |
| `force_compile` | `Fenom::FORCE_COMPILE` | recompile template every time when the template renders | greatly 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 | | *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 | | *force_include* | `Fenom::FORCE_INCLUDE` | paste template body instead of include-tag | increases performance, increases cache size |
| `auto_escape` | `Fenom::AUTO_ESCAPE` | html-escape each variables outputs | decreases performance | | *auto_escape* | `Fenom::AUTO_ESCAPE` | html-escape each variables outputs | decreases performance |
| `force_verify` | `Fenom::FORCE_VERIFY` | check existence every used variable | decreases performance | | *force_verify* | `Fenom::FORCE_VERIFY` | check existence every used variable | decreases performance |
| `auto_trim` | `Fenom::AUTO_TRIM` | remove space-characters before and after tags | | | *auto_trim* | `Fenom::AUTO_TRIM` | remove space-characters before and after tags | |
| `disable_statics` | `Fenom::DENY_STATICS` | remove space-characters before and after tags | | | *disable_statics* | `Fenom::DENY_STATICS` | disable calling static methods in templates. | |
```php ```php
$fenom->setOptions(array( $fenom->setOptions(array(