PhpRiot
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

List items

To list the items stored in the specified path, use the listItems() method. The method returns a list of names identifying matching remote items.

Example 104. List items

<?php
$objects 
$storage->listItems('/my/remote/path/');
foreach (
$objects as $objname) {
    echo 
"Found: $objname\n";
}

Zend Framework