Diff for phpPlatonLib/HTML_Template_Platon/Platon.php between version 1.8 and 1.9
| version 1.8, 2017/06/08 16:13:35 |
version 1.9, 2019/11/01 10:16:48 |
| Line 207 class HTML_Template_Platon |
|
| Line 207 class HTML_Template_Platon |
|
| $type = HTML_TEMPLATE_PLATON_SET_VALUE) |
$type = HTML_TEMPLATE_PLATON_SET_VALUE) |
| { |
{ |
| if (is_array($key)) { |
if (is_array($key)) { |
| while (list($k, $v) = each($key)) { |
foreach ($key as $k => $v) { |
| if (! empty($k)) { |
if (! empty($k)) { |
| // Empty values are allowed. Empty keys are NOT. |
// Empty values are allowed. Empty keys are NOT. |
| $this->set($k, $v, $type); |
$this->set($k, $v, $type); |
Platon Group <platon@platon.org> http://platon.org/
|
|