Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.10.7
-
Fix Version/s: 1.11.0
-
Component/s: Zend_Gdata
-
Labels:None
Description
to be able to do
$contacts = $gdata->getFeed($contactsQuery); $total = count($contacts);
Zend_Gdata_App_Feed needs to be implementing Countable interface. It already implements Iterator and ArrayAccess.
Now the only way is
$contacts = $gdata->getFeed($contactsQuery); $total = $contacts->count();
I consider a improvement and not a bug.