Skip to content

Commit e7fea5f

Browse files
authored
Fix line numbers
1 parent f02a7c6 commit e7fea5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/public_php_api_browsing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ To retrieve the Fields of the selected Content item, you can use the following c
164164
}
165165
```
166166

167-
Line 14 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.
168-
Line 21 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.
167+
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.
168+
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.
169169

170-
Lines 19-24 iterate over Fields defined by the Content Type.
170+
Lines 14-21 iterate over Fields defined by the Content Type.
171171
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.
172172

173173
## Viewing content in different languages

0 commit comments

Comments
 (0)