A model will return false if there was an error, and an empty(false) returns
true.
If the model works, but finds no records, then I think it returns
array('Photo'=>array()) which is not empty.
----- Original Message ----
From: Kyle Decot <[EMAIL PROTECTED]>
To: CakePHP <[email protected]>
Sent: Tuesday, May 13, 2008 2:03:26 PM
Subject: Re: Reusable Elements
I tried that and it's still empty. Any more thoughts ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---