mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
🎨 PhpDoc
(cherry picked from commit d3aeb807d433e656df22f166387230b431656f58)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -84,7 +84,7 @@ class OqlInterpreter
|
||||
}
|
||||
|
||||
/**
|
||||
* @return OqlQuery
|
||||
* @return \OqlObjectQuery|\OqlUnionQuery
|
||||
* @throws \OQLException
|
||||
*/
|
||||
public function ParseQuery()
|
||||
|
||||
Reference in New Issue
Block a user