mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
This commit is contained in:
@@ -773,14 +773,14 @@ abstract class DBSearch
|
|||||||
* @see DBSearch::ToOQL()
|
* @see DBSearch::ToOQL()
|
||||||
*
|
*
|
||||||
* @param string $sQuery The OQL to convert to a DBSearch
|
* @param string $sQuery The OQL to convert to a DBSearch
|
||||||
* @param mixed[string] $aParams array of <mixed> params index by <string> name
|
* @param array $aParams array of <mixed> params index by <string> name
|
||||||
* @param ModelReflection|null $oMetaModel The MetaModel to use when checking the consistency of the OQL
|
* @param ModelReflection|null $oMetaModel The MetaModel to use when checking the consistency of the OQL
|
||||||
*
|
*
|
||||||
* @return DBObjectSearch|DBUnionSearch
|
* @return DBObjectSearch|DBUnionSearch
|
||||||
*
|
*
|
||||||
* @throws OQLException
|
* @throws OQLException
|
||||||
*/
|
*/
|
||||||
static public function FromOQL($sQuery, $aParams = null, ModelReflection $oMetaModel=null)
|
public static function FromOQL($sQuery, $aParams = null, ModelReflection $oMetaModel=null)
|
||||||
{
|
{
|
||||||
if (empty($sQuery))
|
if (empty($sQuery))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user