Kornel Lesiński wrote:
On 22 Nov 2010, at 12:35, Ivo Võsa wrote:

seams like today is feature request day :) so here goes mine.

I'm using phptal with Doctrine ORM.
Unfortunately Doctrine and phtpal have different understanding about what 
exactly isset means.
So every time i upgrade phptal i have to apply this little patch.

How does isset behave in Doctrine?

If $obj->foo exists, but is not loaded, does isset($obj->foo) return false?

yes it will return false,
and if you try to access it, it is loaded from database

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to