From bad5aff764aa470447edadb95a622617d3fdb7ac Mon Sep 17 00:00:00 2001 From: Guillaume Lajarige Date: Fri, 18 Aug 2017 15:37:44 +0000 Subject: [PATCH] Internal: PHPDoc on some DBObjectSet methods. SVN:trunk[4868] --- core/dbobjectset.class.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/core/dbobjectset.class.php b/core/dbobjectset.class.php index bd1b2584f..4dbe1447d 100644 --- a/core/dbobjectset.class.php +++ b/core/dbobjectset.class.php @@ -309,8 +309,14 @@ class DBObjectSet implements iDBObjectSetIterator } return self::FromArray($sTargetClass, $aTargets); - } + } + /** + * Note: After calling this method, the set cursor will be at the end of the set. You might to rewind it. + * + * @param bool $bWithId + * @return array + */ public function ToArray($bWithId = true) { $aRet = array(); @@ -377,8 +383,15 @@ class DBObjectSet implements iDBObjectSetIterator $iRow++; } return $aRet; - } + } + /** + * Note: After calling this method, the set cursor will be at the end of the set. You might to rewind it. + * + * @param string $sAttCode + * @param bool $bWithId + * @return array + */ public function GetColumnAsArray($sAttCode, $bWithId = true) { $aRet = array();