Flexy patch

From: Date: Sat, 17 Apr 2004 10:15:32 +0000
Subject: Flexy patch
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-27830@lists.php.net to get a copy of this message
Hi I've got a little problem with flexy. When I generated entities by data_object: $do->getLinks(); and try to use it in html templates: {foreach:results,key,valueObj} {valueObj._owner_id.first_name} {end:} where _owner_id is genereated by data_object. Flexy doesn't parse {valueObj._owner_id.first_name}. I hack a little and noticed that {val1.val2.val3} works fine but if we try to add "_" before any of the val (for example {val1._val2.val3}) it doesn't work any more. So it is my little hack for it, attached as patch. With this change when I generated new Tokenizer.php it works fine. best regards, Radek

« previous php.pear.dev (#27830) next »