Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #8 from follower46/master

Updated documentation on README.markdown
  • Loading branch information...
commit 10ce50a85030c57cbaa380a37c3e979ba8f9f436 2 parents fcbf31e + f8733d0
@its-clee its-clee authored
Showing with 18 additions and 0 deletions.
  1. +18 −0 README.markdown
View
18 README.markdown
@@ -161,6 +161,24 @@ $container = $objectStorage01->with('some_container')
...
```
+## Pagination
+```php
+/**
+ * You can traverse the directories through pages of data using markers.
+ *
+ */
+
+$container = $objectStorage01->with('some_container')
+ ->setParam('marker', '/some_container/last_item_name_on_previous_page.jpg')
+ ->get(25);
+
+// You can progress backwards through the directories using "end_marker" too
+
+$container = $objectStorage01->with('some_container')
+ ->setParam('end_marker', '/some_container/first_item_name_on_previous_page.jpg')
+ ->get(25);
+```
+
## Copy an object to another Object Storage
```php
Please sign in to comment.
Something went wrong with that request. Please try again.