Uwe Tews
30526520b6
- cleanup of _getSmartyObj()
2017-08-05 23:08:59 +02:00
uwetews
0a8e47ecb2
- improvement move often used code snippets into methods
2016-09-11 04:35:52 +02:00
uwetews
124b333da2
- bugfix implement wrapper for removed method getConfigVariable() https://github.com/smarty-php/smarty/issues/286
2016-09-08 22:28:06 +02:00
Tino Goratsch
8dc8fc23c8
Optimization for Smarty_Internal_Data::assign()
...
Removed the extra if block, when an array has been given as the $tpl_var argument, because in the else block there is already a "not empty check".
2016-02-19 09:44:07 +01:00
uwetews
2f62b99173
- update/bugfix scope attribute handling reworked. Read the newfeatures.txt file
2016-02-09 23:27:07 +01:00
uwetews
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
uwetews
b0691dd056
- update external methods
2015-12-27 07:18:35 +01:00
Joseph Orilogbon
048b648bff
- Restored Smarty_Internal_Data::getVariable(), but added deprecation message.
2015-12-15 08:54:21 +01:00
uwetews
55f38125a4
- improve template scope handling
2015-10-29 22:17:35 +01:00
uwetews
50760c794c
- more optimizations of template processing
2015-10-24 22:43:19 +02:00
uwetews
888014b908
- new extension handler to load functions when called
2015-10-24 05:02:24 +02:00
uwetews
0d46c17578
- rearrange internal cache
2015-08-29 14:37:59 +02:00
uwetews
a413a2a2e1
replace unneeded instanceof conditions
2015-08-23 01:50:05 +02:00
uwetews
6cbcdf4d7b
- load seldom used Smarty API methods dynamically to reduce memory footprint
2015-08-17 21:52:32 +02:00
Uwe Tews
61253c1999
optimization
2015-07-12 07:03:55 +02:00
Uwe Tews
ce0c1dcfae
- move $smarty->append() and $smarty->appendByRef() into extension
2015-06-28 05:22:19 +02:00
Uwe Tews
f4d7838a8f
- move getStreamVariable() into extension
2015-06-28 05:00:27 +02:00
Uwe Tews
afe9af11b7
- move $smarty->getTemplateVars() into extension
2015-06-28 04:44:16 +02:00
Uwe Tews
8082bc7471
get rid of smarty object self pointer
2015-02-15 01:45:37 +01:00
Uwe Tews
43f043364f
fix case in class name
2015-01-06 01:18:58 +01:00
Uwe Tews
111a10bb17
Move some classes into its own files
2015-01-04 05:51:52 +01:00
Uwe Tews
cfdd53c6b4
restructure config file processing
...
move code into an extension class
use Smarty_Internal_Template
2015-01-02 22:30:53 +01:00
Uwe Tews
158b7be58a
Debug Console Update
...
- bugfix Debug Console did not show included subtemplates since 3.1.17
(forum 25301)
- bugfix Modifier debug_print_var did not limit recursion or prevent
recursive object display at Debug Console
(ATTENTION: parameter order has changed to be able to specify maximum
recursion)
- bugfix Debug consol did not include subtemplate information with
$smarty->merge_compiled_includes = true
- improvement The template variables are no longer displayed as objects
on the Debug Console
- improvement $smarty->createData($parent = null, $name = null) new
optional name parameter for display at Debug Console
- addition of some hooks for future extension of Debug Console
2014-11-03 22:27:32 +01:00
Uwe.Tews@googlemail.com
425091a19f
- fixed spelling, PHPDoc , minor errors, code cleanup
2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com
00ccae8857
- update for PHP 5.4 compatibility
...
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
uwe.tews@googlemail.com
27be6508bd
- bugfix assignGlobal() called from plugins did not work (Forum Topic 23771)
2012-11-20 02:06:20 +00:00
uwe.tews@googlemail.com
dbda42bc6c
- bugfix assign() in plugins called in subtemplates did change value also in parent template
2011-10-04 16:18:24 +00:00
rodneyrehm
0cd9821dcc
- added chaining to Smarty_Internal_Data so $smarty->assign('a',1)->assign('b',2); is possible now
2011-09-27 12:36:50 +00:00
uwe.tews@googlemail.com
95ab01f99f
remove unneeded error suppression
2011-09-21 22:54:08 +00:00
rodneyrehm
7a6b9dba91
- added $error_muting to suppress error messages even for badly implemented error_handlers
...
- reverted r4301
2011-09-21 22:02:54 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
7c0e3c89c1
- bugfix error handling at stream resources
2011-05-14 11:11:52 +00:00
uwe.tews@googlemail.com
9630a99a82
- bugfix dynamic configuration of $debugging_crtl did not work
...
- bugfix default value of $config_read_hidden changed to false
- bugfix format of attribute array on compiler plugins
- bugfix getTemplateVars() could return value from wrong scope
2010-12-31 13:47:12 +00:00
uwe.tews@googlemail.com
ea37403f01
- bugfix getTemplateVars() should return 'null' instead dropping E_NOTICE on an unassigned variable
2010-12-06 19:00:50 +00:00
uwe.tews@googlemail.com
eddb301947
- change on handling of unassigned template variable -- default will drop E_NOTICE
...
- bugfix on Smarty2 wrapper load_filter() did not work
2010-11-18 18:58:53 +00:00
uwe.tews@googlemail.com
21ed644f82
- bugfix when using {$smarty.session} as object
...
- bugfix scoping problem on $smarty object passed to filters
2010-11-15 19:17:18 +00:00
uwe.tews@googlemail.com
5e21770fe5
- reactivated $error_reporting property handling
...
- fixed typo in compile_continue
- fixed security in {fetch} plugin
- changed back plugin parameters to two. second is template object
with transparent access to Smarty object
- fixed {config_load} scoping form compile time to run time
2010-11-12 23:42:32 +00:00
uwe.tews@googlemail.com
f044178bad
- major update including some API changes
2010-11-11 21:34:36 +00:00
uwe.tews@googlemail.com
ce7a278f44
- bugfix for the E_NOTICE change
2010-10-20 18:28:04 +00:00
Uwe.Tews
96e3d9937a
- fixed E_STRICT errors for uninitialized variables
2010-08-23 14:40:10 +00:00
Uwe.Tews
ad921936b0
- remove exception_handler property from Smarty class
...
- added Smarty's own exceptions SmartyException and SmartyCompilerException
2010-08-13 10:39:51 +00:00
Uwe.Tews
b534be00da
- replace internal get_time() calls with standard PHP5 microtime(true) calls
2010-06-20 14:37:47 +00:00
Uwe.Tews
7cd84ed640
- added __toString method to the Smarty_Variable class
2010-06-18 15:10:35 +00:00
monte.ohrt
c963a8342e
fix assign_by_ref and append_by_ref BC compatability
2010-06-08 20:45:18 +00:00
Uwe.Tews
bf591a307b
- bugfix on getTemplateVars method
2010-05-06 00:32:10 +00:00
monte.ohrt
0c2b18c727
move getTemplateVars() into data object
2010-02-08 17:31:15 +00:00
monte.ohrt
9af377d7d3
major API update
2010-02-06 22:11:10 +00:00
Uwe.Tews
e89c15d65d
- new method $smarty->createData([$parent]) for creating a data object (required for bugfixes below)
...
- bugfix config_load() method now works also on a data object
- bugfix get_config_vars() method now works also on a data and template objects
- bugfix clear_config() method now works also on a data and template objects
2010-01-22 16:39:30 +00:00
Uwe.Tews
44dd7830dd
--- this is a major update with a couple of internal changes ---
...
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00