From: "B. Kamer" <[EMAIL PROTECTED]>
Subject: [PHPTAL] php: modifier and path: arguments

i am wondering how to do the following. It cannot be hard but i am unble to do this

execute an php function with tal path values as arguments

<b tal:content="php: strtoupper(${})">NAME OF DOMAIN</ b>: ${configItem/value}

I seem to be working with arrays alot and you reference them like this:

in php:
$something['and']['another'] = "bingo";

in phptal:

<span tal:content="something['and']['another']" tal:attributes="class php:something['and']['another'] == 'bingo'? 'highlight' : '' " />

PHPTAL mailing list

Reply via email to