Skip to content

Commit a49aebc

Browse files
committed
Added PHP API reference links
1 parent f01e805 commit a49aebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/php_api/php_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ Value objects come with their own properties, such as `$content->id` or `$locati
6767
### Creating and updating objects
6868

6969
Value objects fetch data from the repository and are read-only.
70-
To create and modify repository values, use data structures, such as [`ContentService::newContentCreateStruct()`](https://github.com/ibexa/core/blob/v4.6.6/src/contracts/Repository/ContentService.php#L572) or [`LocationService::newLocationUpdateStruct()`](https://github.com/ibexa/core/blob/v4.6.6/src/contracts/Repository/LocationService.php#L238).
70+
To create and modify repository values, use data structures, such as [`ContentService::newContentCreateStruct()`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-ContentService.html#method_newContentCreateStruct) or [`LocationService::newLocationUpdateStruct()`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-LocationService.html#method_newLocationCreateStruct).
7171

7272
### Value info objects
7373

74-
Some complex value objects have an `Info` counterpart, for example [`ContentInfo`](https://github.com/ibexa/core/blob/4.6/src/contracts/Repository/Values/Content/ContentInfo.php) for [`Content`](https://github.com/ibexa/core/blob/4.6/src/contracts/Repository/Values/Content/Content.php).
74+
Some complex value objects have an `Info` counterpart, for example [`ContentInfo`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html) for [`Content`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html).
7575
These objects provide you with lower-level information.
7676
For instance, `ContentInfo` contains `currentVersionNo` or `remoteId`, while `Content` enables you to retrieve fields, content type, or previous versions.
7777

0 commit comments

Comments
 (0)