From 75ff4da37cbf6389f33dddab34ca1a362913bda8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 23 Jul 2023 21:44:40 +0200 Subject: [PATCH] Doc --- htdocs/core/class/commonobject.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index bb44c3bce4e..24015f230cc 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -3840,10 +3840,10 @@ abstract class CommonObject * - source id+type + target type -> will get list of targets of the type linked to source * - target id+type + source type -> will get list of sources of the type linked to target * - * @param int $sourceid Object source id (if not defined, id of object) - * @param string $sourcetype Object source type (if not defined, element name of object) - * @param int $targetid Object target id (if not defined, id of object) - * @param string $targettype Object target type (if not defined, element name of object) + * @param int $sourceid Object source id (if not defined, $this->id) + * @param string $sourcetype Object source type (if not defined, $this->element) + * @param int $targetid Object target id (if not defined, $this->id) + * @param string $targettype Object target type (if not defined, $this->element) * @param string $clause 'OR' or 'AND' clause used when both source id and target id are provided * @param int $alsosametype 0=Return only links to object that differs from source type. 1=Include also link to objects of same type. * @param string $orderby SQL 'ORDER BY' clause