We are using smarty,
In one of our views we have:
{if $header.showNav}...{/if}
and if we want to set that we use:
$header = $smarty->getTemplateVars('header');
$header['showNav'] = true;
$smarty->assign('header', $header);
Which works, But it seems rather long winded.
Does smarty provide a way to manage this easier?