akbkhome

Smoking toooooo much PHP




Hey Alan!

Notice: The Smarty link is broken!
#1 - Christian Machmeier ( Link) on 18 Apr 2004, 16:46 Delete Comment

If you have some code where you use DataObject together with Flexy, I'd be happy to see it. I tried flexy in the last days and it was the greatest thing I've ever seen for filling in form values but not for creating lists of records. What I couldn't do is to pass a DataObject and while ($do->fetch()) print $do member variables (fields). I guess you have some cool solution for that.

Thanks.
Norbert
#2 - Norbert Mocsnik ( Link) on 16 Jul 2004, 02:53 Delete Comment

I forgot to mention that my main problem with that was that I couldn't refer to object member variables in the templates nor was I able to use associative arrays so that I could have passed $do->toArray() stuff.

Anyways, parsing HTML tags and filling in form elements + using flexy properties in HTML tags is a very great idea. I must admit I almost always like what you do.
#3 - Norbert Mocsnik ( Link) on 16 Jul 2004, 02:57 Delete Comment
Translation2 + Flexy, examples?
I see the translation property in Flexy, but there is no mention of it in the docs and I'm not sure how to specify the container translation2 should use with flexy... I'm really lost here. Even figuring out just DB_DataObject and Translation2 seems undocumented.

Any tips here? Am I missing a big piece of documentation somewhere?

thanks
Jacob
#4 - Jacob Singh ( Link) on 02 Dec 2004, 16:07 Delete Comment
Okay, I think I get it
Okay, it's making some sence now.
WARNING! This page is outdated. You have to instantiate Translation2 via a factory method, so the example code doesn't work


#5 - Jacob Singh ( Link) on 02 Dec 2004, 17:17 Delete Comment


Name
Email
Homepage
Comment Title
Comment
 
Contact me at alan@akbkhome.com