Suggestion Box

0 views
Skip to first unread message

bbuchs

unread,
Dec 2, 2005, 10:04:51 AM12/2/05
to Php Object Generator
just a couple of suggestions, nothing more...

1) Could the "escape" and "unescape" functions check for dates? Unless
I'm missing something, it makes querying against a datestamp impossible
("select * from XXX where modified < now()")

2) Could the "GetXXXlist()" function be named consistently? All the
other object methods are generic - Save(), Get(), etc.... - why not
just "List()"?

Joel

unread,
Dec 2, 2005, 10:29:15 AM12/2/05
to Php Object Generator
Hi bbuchs,

1) You're right. Will think about this one. As you probably know, there
s a workaround: you can do:

GetXXXList("modified", "<", "time()");
i.e pass the time on the php side, this'll make sure the data in
encoded properly in the query.

2) You're absolutely right. I've been working on the setup file
recently and it's been bugging me too. Will try to change that in the
next release.

Thanks for the suggestion.

Joel

Aaron Vegh

unread,
Dec 2, 2005, 11:04:24 AM12/2/05
to Php-Object...@googlegroups.com
> 2) Could the "GetXXXlist()" function be named consistently? All the
> other object methods are generic - Save(), Get(), etc.... - why not
> just "List()"?

For my two cents, I think that's a FABULOUS idea. I hope you can do that, Joel!

Cheers,
Aaron.
Reply all
Reply to author
Forward
0 new messages