/** * List collections. * * @param array $options * @return array */ public function listCollections($options = null) { try { $tables = $this->_storageClient->listTables(); $restables = array(); foreach ($tables as $table) { $restables[] = $table->name; } return $restables; } catch (Zend_Service_WindowsAzure_Exception $e) { throw new Zend_Cloud_DocumentService_Exception('Error on collection list: ' . $e->getMessage(), $e->getCode(), $e); } return $tables; }