diff --git a/docs/api/public_php_api_browsing.md b/docs/api/public_php_api_browsing.md index 1fea8c7b10..a5030d11a6 100644 --- a/docs/api/public_php_api_browsing.md +++ b/docs/api/public_php_api_browsing.md @@ -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