From 905dba67c3ff295d86df81c928c2aaf29899517b Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 5 Nov 2018 17:15:18 +0100 Subject: [PATCH] Some PhpDoc to document api (just a start !) --- core/dbobject.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/dbobject.class.php b/core/dbobject.class.php index d0025846f9..5ce4f0b579 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -1406,6 +1406,7 @@ abstract class DBObject implements iDisplay * @throws \CoreException * @throws \OQLException * @since 2.6 N°659 uniqueness constraint + * @api */ protected function DoCheckUniqueness() { @@ -1471,6 +1472,7 @@ abstract class DBObject implements iDisplay * @throws \CoreException * @throws \OQLException * @since 2.6 N°659 uniqueness constraint + * @api */ protected function GetUniquenessDuplicatesQuery($aUniquenessSingleRule) { @@ -1503,6 +1505,7 @@ abstract class DBObject implements iDisplay * @throws \ArchivedObjectException * @throws \CoreException * @throws \OQLException + * @api */ public function DoCheckToWrite() { @@ -1567,6 +1570,7 @@ abstract class DBObject implements iDisplay * @throws \ArchivedObjectException * @throws \CoreException * @throws \OQLException + * @internal do not overwrite ! Use {@link DoCheckToWrite} instead */ final public function CheckToWrite() {