function list_containers($limit=0, $marker=NULL)
    {
        list($status, $reason, $containers) =
            $this->cfs_http->list_containers($limit, $marker);
        #if ($status == 401 && $this->_re_auth()) {
        #    return $this->list_containers($limit, $marker);
        #}
        if ($status < 200 || $status > 299) {
            throw new InvalidResponseException(
                "Invalid response (".$status."): ".$this->cfs_http->get_error());
        }
        return $containers;
    }
function list_containers($limit=0, $marker=NULL)
    {
        list($status, $reason, $containers) =
            $this->cfs_http->list_containers($limit, $marker);
        #if ($status == 401 && $this->_re_auth()) {
        #    return $this->list_containers($limit, $marker);
        #}
        if ($status < 200 || $status > 299) {
            throw new InvalidResponseException(
                "Invalid response (".$status."): ".$this->cfs_http->get_error());
        }
        return $containers;
    }
function list_containers ( $ limit = 0 , $ marker = NULL ) { list ( $ status , $ reason , $ containers ) = $ this -> cfs_http -> list_containers ( $ limit , $ marker ) ; #if ($status == 401 && $this->_re_auth()) { #    return $this->list_containers($limit, $marker); #} if ( $ status < 200 || $ status > 299 ) { throw new InvalidResponseException ( "Invalid response (" . $ status . "): " . $ this -> cfs_http -> get_error ( ) ) ; } return $ containers ; }
Return list of remote Containers

Return an array of strings containing the names of all remote Containers.

Example:
<code>
# ... authentication code excluded (see previous examples) ...
#
$conn = new CF_Authentication($auth);

$container_list = $conn->list_containers();
print_r($container_list);
Array
(
[0] => "my photos",
[1] => "my docs"
)
</code>

@param integer $limit restrict results to $limit Containers
@param string $marker return results greater than $marker
@return array list of remote Containers
@throws InvalidResponseException unexpected response
Return list of remote Containers