From 7e0367eee19178b56fed59cb9d39584bac793e27 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Mon, 28 Sep 2026 16:40:55 +0200 Subject: [PATCH] Use links to PHP API Ref instead of GitHub repo --- docs/api/php_api/php_api.md | 4 ++-- docs/search/criteria_reference/contentname_criterion.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/php_api/php_api.md b/docs/api/php_api/php_api.md index 4c8f2e8eabd..4706fc94526 100644 --- a/docs/api/php_api/php_api.md +++ b/docs/api/php_api/php_api.md @@ -67,11 +67,11 @@ Value objects come with their own properties, such as `$content->id` or `$locati ### Creating and updating objects Value objects fetch data from the repository and are read-only. -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). +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_newLocationUpdateStruct). ### Value info objects -Some complex value objects have an `Info` counterpart, for example [`ContentInfo`](https://github.com/ibexa/core/blob/5.0/src/contracts/Repository/Values/Content/ContentInfo.php) for [`Content`](https://github.com/ibexa/core/blob/5.0/src/contracts/Repository/Values/Content/Content.php). +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). These objects provide you with lower-level information. For instance, `ContentInfo` contains `currentVersionNo` or `remoteId`, while `Content` enables you to retrieve fields, content type, or previous versions. diff --git a/docs/search/criteria_reference/contentname_criterion.md b/docs/search/criteria_reference/contentname_criterion.md index 81f6557267b..a3c2aa1ab7f 100644 --- a/docs/search/criteria_reference/contentname_criterion.md +++ b/docs/search/criteria_reference/contentname_criterion.md @@ -4,7 +4,7 @@ description: ContentName Search Criterion # ContentName Criterion -The [`ContentName` Search Criterion](https://github.com/ibexa/core/blob/5.0/src/contracts/Repository/Values/Content/Query/Criterion/ContentName.php) searches for content by its name. +The [`ContentName` Search Criterion](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Query-Criterion-ContentName.html) searches for content by its name. ## Arguments