Internal: PHPDoc on some DBObjectSet methods.

SVN:trunk[4868]
This commit is contained in:
Guillaume Lajarige
2017-08-18 15:37:44 +00:00
parent 440f2639b5
commit bad5aff764

View File

@@ -311,6 +311,12 @@ 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();
@@ -379,6 +385,13 @@ class DBObjectSet implements iDBObjectSetIterator
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();