🎨 PhpDoc

(cherry picked from commit d3aeb807d433e656df22f166387230b431656f58)
This commit is contained in:
Pierre Goiffon
2018-11-21 11:56:15 +01:00
parent 83e1f35f9c
commit e4912ee175
3 changed files with 18 additions and 5 deletions

View File

@@ -402,6 +402,7 @@ abstract class DBSearch
}
}
/** @var DBObjectSearch | null $oResultFilter */
if (!isset($oResultFilter))
{
$oKPI = new ExecutionKPI();
@@ -440,11 +441,20 @@ abstract class DBSearch
return $oResultFilter;
}
// Alternative to object mapping: the data are transfered directly into an array
// This is 10 times faster than creating a set of objects, and makes sense when optimization is required
/**
* @param hash $aOrderBy Array of '[<classalias>.]attcode' => bAscending
*/
* Alternative to object mapping: the data are transfered directly into an array
* This is 10 times faster than creating a set of objects, and makes sense when optimization is required
*
* @param array $aColumns
* @param array $aOrderBy Array of '[<classalias>.]attcode' => bAscending
* @param array $aArgs
*
* @return array|void
* @throws \CoreException
* @throws \MissingQueryArgument
* @throws \MySQLException
* @throws \MySQLHasGoneAwayException
*/
public function ToDataArray($aColumns = array(), $aOrderBy = array(), $aArgs = array())
{
$sSQL = $this->MakeSelectQuery($aOrderBy, $aArgs);

View File

@@ -2022,6 +2022,9 @@ class FunctionExpression extends Expression
}
}
/**
* @see https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html
*/
class IntervalExpression extends Expression
{
protected $m_oValue; // expression

View File

@@ -84,7 +84,7 @@ class OqlInterpreter
}
/**
* @return OqlQuery
* @return \OqlObjectQuery|\OqlUnionQuery
* @throws \OQLException
*/
public function ParseQuery()