public function objectsWithPrefix($prefix, $delimiter = '/', $limit = NULL, $marker = NULL) {
    $params = array(
      'prefix' => $prefix,
      'delimiter' => $delimiter,
    );
    return $this->objectQuery($params, $limit, $marker);
  }
public function objectsWithPrefix($prefix, $delimiter = '/', $limit = NULL, $marker = NULL) {
    $params = array(
      'prefix' => $prefix,
      'delimiter' => $delimiter,
    );
    return $this->objectQuery($params, $limit, $marker);
  }
public function objectsWithPrefix ( $ prefix , $ delimiter = '/' , $ limit = NULL , $ marker = NULL ) { $ params = array ( 'prefix' => $ prefix , 'delimiter' => $ delimiter , ) ; return $ this -> objectQuery ( $ params , $ limit , $ marker ) ; }
Retrieve a list of Objects with the given prefix.

Object Storage containers support directory-like organization. To
get a list of items inside of a particular "subdirectory", provide
the directory name as a "prefix". This will return only objects
that begin with that prefix.

(Directory-like behavior is also supported by using "directory
markers". See objectsByPath().)

Prefixes

Prefixes are basically substring patterns that are matched against
files on the remote object storage.

When a prefix is used, object storage will begin to return not just
Object instsances, but also Subdir instances. A Subdir is simply a
container for a "path name".

Delimiters

Object Storage (OpenStack Swift) does not have a native concept of
files and directories when it comes to paths. Instead, it merely
represents them and simulates their behavior under specific
circumstances.

The default behavior (when prefixes are used) is to treat the '/'
character as a delimiter. Thus, when it encounters a name like
this: `foo/bar/baz.txt` and the prefix is `foo/`, it will
parse return a Subdir called `foo/bar`.

Similarly, if you store a file called `foo:bar:baz.txt` and then
set the delimiter to `:` and the prefix to `foo:`, it will return
the Subdir `foo:bar`. However, merely setting the delimiter back to
`/` will not allow you to query `foo/bar` and get the contents of
`foo:bar`.

Setting $delimiter will tell the Object Storage server which
character to parse the filenames on. This means that if you use
delimiters other than '/', you need to be very consistent with your
usage or else you may get surprising results.

@param string $prefix
The leading prefix.
@param string $delimiter
The character used to delimit names. By default, this is '/'.
@param int $limit
An integer indicating the maximum number of items to return. This
cannot be greater than the Swift maximum (10k).
@param string $marker
The name of the object to start with. The query will begin with
the next object AFTER this one.
@retval array
@return array
List of RemoteObject or Subdir instances.
Retrieve a list of Objects with the given prefix .