Skip to content

Commit f02a7c6

Browse files
committed
public_php_api_browsing.md: Fix line numbers
1 parent ed28fa3 commit f02a7c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/public_php_api_browsing.md

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

167-
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.
168-
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.
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.
169169

170170
Lines 19-24 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.

0 commit comments

Comments
 (0)