Releases: REJack/codeigniter-twiggy
Releases · REJack/codeigniter-twiggy
v0.9.8: enhance assets function
- tested and reactivated CI3 Exceptions adaption
- added message to twiggy->set in show_exception()
- added abilty to add safe functions (auto escaped)
- added config option
register_safe_functions
®ister_safe_filters
(default: array())
- added config option
- enhance assets function
- add abilty to create group assets
- create assets helper to render group assets
- added config option
render_all_assets
(default: false)
v0.9.7
v0.9.6
v0.9.5
v0.9.4
0.9.3
0.9.2
0.9.1: added non-composer support
- Added non-composer support
- Moved
Twig_Autoloader::register();
into the library__construct
. - Added
load_twig_engine
to config. - Added
old_way
toload_twig_engine
(for easy moving fromedmundask/codeigniter-twiggy
)
- Moved
0.9.0: changes from carloscarcamo
- Removed load config in the autoload files
- Added config autoload in the library
- Added Auto-reigster globals config array
- Removed twig. (now any user need to add twig manual over composer)
0.8.5: last changes from edmundask
- Changed
display()
andrender()
methods a little bit to accept a parameter. From now on you can set the template file without thetemplate()
method. For example:$this->twiggy->display('admin/dashboard');
instead of$this->twiggy->template('admin/dashboard')->display()
. - Added
rendered()
method to check whether a template has already been rendered/displayed usingdisplay()
orrender()
. - Fixed a bug where calling
func_get_args()
function as a parameter in another function would cause a fatal error:Fatal error: func_get_args(): Can’t be used as a function parameter in <...>
.