User management by profile ready for integration with the UI

and some caching has been implemented for the building of queries (both from an OQL or from a programmatic query)

SVN:code[90]
This commit is contained in:
Romain Quetiez
2009-07-31 13:18:44 +00:00
parent 59db699684
commit 80a0d27cb0
11 changed files with 884 additions and 150 deletions

View File

@@ -92,6 +92,24 @@ class DBObjectSet
return $aRet;
}
public function GetColumnAsArray($sAttCode, $bWithId = true)
{
$aRet = array();
$this->Rewind();
while ($oObject = $this->Fetch())
{
if ($bWithId)
{
$aRet[$oObject->GetKey()] = $oObject->Get($sAttCode);
}
else
{
$aRet[] = $oObject->Get($sAttCode);
}
}
return $aRet;
}
public function GetFilter()
{
return $this->m_oFilter;