Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/api/public_php_api_browsing.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ To retrieve the Fields of the selected Content item, you can use the following c
}
```

Line 16 shows how [`ContentService::loadContent`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Publish/API/Repository/ContentService.php#L147) loads the Content item provided to the command.
Line 17 makes use of the [`ContentTypeService`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Publish/API/Repository/ContentTypeService.php) to retrieve the Content Type of the requested item.
Line 11 shows how [`ContentService::loadContent`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Publish/API/Repository/ContentService.php#L147) loads the Content item provided to the command.
Line 12 makes use of the [`ContentTypeService`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Publish/API/Repository/ContentTypeService.php) to retrieve the Content Type of the requested item.

Lines 19-24 iterate over Fields defined by the Content Type.
Lines 14-21 iterate over Fields defined by the Content Type.
For each Field they print out its identifier, and then using [`FieldTypeService`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Publish/API/Repository/FieldTypeService.php) retrieve the Field's value and print it out to the console.

## Viewing content in different languages
Expand Down
Loading