Skip to content

Commit 50e18f1

Browse files
More documentation
1 parent c14ab65 commit 50e18f1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/userguide/ObjectStore/Storage/Object.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
You will need to instantiate the container object as [documented here](https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/ObjectStore/Storage/Container.md).
44

5+
## Note on object properties
6+
7+
Please be aware that you cannot directly access the properties of DataObject anymore, you __must__ use appropriate getter/
8+
setter methods:
9+
10+
|--------|------|
11+
|Property|Method|
12+
|--------|------|
13+
|Parent container|`getContainer`|
14+
|Name|`getName`|
15+
|Body of file|`getContent`|
16+
|Size of file|`getContentType`|
17+
|Type of file|`getContentLength`|
18+
|ETag checksum|`getEtag`|
19+
|Last modified date|`getLastModified`|
20+
|--------|------|
21+
522
## List objects in a container
623

724
To return a list of objects:

0 commit comments

Comments
 (0)