Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Finding photos From a Group Pool

Zend_Service_Flickr allows to retrieve a group's pool photos based on the group ID. Use the groupPoolGetPhotos() method:

Example 820. Retrieving a Group's Pool Photos by Group ID

= new Zend_Service_Flickr('MY_API_KEY');

$results $flickr->groupPoolGetPhotos($groupId);

    foreach (
$results as $result) {
$result->title '<br />';

Optional parameter

groupPoolGetPhotos() accepts an optional second parameter as an array of options.

Zend Framework