From c450f1d02f3f62efc8132522b8c954421b4e8f72 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 27 Jul 2021 15:54:26 +0200 Subject: [PATCH] :bulb: aModifierProperties documentation --- core/dbsearch.class.php | 17 +++++++++-------- core/metamodel.class.php | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/core/dbsearch.class.php b/core/dbsearch.class.php index 25afb3f72..849f2a56f 100644 --- a/core/dbsearch.class.php +++ b/core/dbsearch.class.php @@ -63,22 +63,23 @@ else abstract class DBSearch { - /** @internal */ + /** @internal */ const JOIN_POINTING_TO = 0; - /** @internal */ + /** @internal */ const JOIN_REFERENCED_BY = 1; protected $m_bNoContextParameters = false; + /** @var array For {@see iQueryModifier} impl */ protected $m_aModifierProperties = array(); protected $m_bArchiveMode = false; protected $m_bShowObsoleteData = true; - /** - * DBSearch constructor. - * - * @api - * @see DBSearch::FromOQL() - */ + /** + * DBSearch constructor. + * + * @api + * @see DBSearch::FromOQL() + */ public function __construct() { $this->Init(); diff --git a/core/metamodel.class.php b/core/metamodel.class.php index fd2c998cb..813a748da 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -6957,7 +6957,7 @@ abstract class MetaModel * @param int $iKey id value of the object to retrieve * @param bool $bMustBeFound see throws ArchivedObjectException * @param bool $bAllowAllData if true then user rights will be bypassed - use with care! - * @param null $aModifierProperties + * @param array $aModifierProperties properties for {@see iQueryModifier} impl * * @return \DBObject null if : (the object is not found) or (archive mode disabled and object is archived and * $bMustBeFound=false)