function get_containers($limit=0, $marker=NULL)
    {
        list($status, $reason, $container_info) =
                $this->cfs_http->list_containers_info($limit, $marker);
        #if ($status == 401 && $this->_re_auth()) {
        #    return $this->get_containers();
        #}
        if ($status < 200 || $status > 299) {
            throw new InvalidResponseException(
                "Invalid response: ".$this->cfs_http->get_error());
        }
        $containers = array();
        foreach ($container_info as $name => $info) {
            $containers[] = new CF_Container($this->cfs_auth, $this->cfs_http,
                $info['name'], $info["count"], $info["bytes"], False);
        }
        return $containers;
    }
function get_containers($limit=0, $marker=NULL)
    {
        list($status, $reason, $container_info) =
                $this->cfs_http->list_containers_info($limit, $marker);
        #if ($status == 401 && $this->_re_auth()) {
        #    return $this->get_containers();
        #}
        if ($status < 200 || $status > 299) {
            throw new InvalidResponseException(
                "Invalid response: ".$this->cfs_http->get_error());
        }
        $containers = array();
        foreach ($container_info as $name => $info) {
            $containers[] = new CF_Container($this->cfs_auth, $this->cfs_http,
                $info['name'], $info["count"], $info["bytes"], False);
        }
        return $containers;
    }
function get_containers ( $ limit = 0 , $ marker = NULL ) { list ( $ status , $ reason , $ container_info ) = $ this -> cfs_http -> list_containers_info ( $ limit , $ marker ) ; #if ($status == 401 && $this->_re_auth()) { #    return $this->get_containers(); #} if ( $ status < 200 || $ status > 299 ) { throw new InvalidResponseException ( "Invalid response: " . $ this -> cfs_http -> get_error ( ) ) ; } $ containers = array ( ) ; foreach ( $ container_info as $ name => $ info ) { $ containers [ ] = new CF_Container ( $ this -> cfs_auth , $ this -> cfs_http , $ info [ 'name' ] , $ info [ "count" ] , $ info [ "bytes" ] , False ) ; } return $ containers ; }
Return array of Container instances

Return an array of CF_Container instances on the account.  The instances
will be fully populated with Container attributes (bytes stored and
Object count)

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

$clist = $conn->get_containers();
foreach ($clist as $cont) {
print "Container name: " . $cont->name . "\n";
print "Number of Objects: " . $cont->count . "\n";
print "Bytes stored in container: " . $cont->bytes . "\n";
}
</code>

@return array An array of CF_Container instances
@throws InvalidResponseException unexpected response
Return array of Container instances