Advanced Search: Fix missing query internal params

SVN:trunk[5762]
This commit is contained in:
Eric Espié
2018-05-02 08:11:28 +00:00
parent 820c257e96
commit 21aed2d2e1
3 changed files with 33 additions and 7 deletions

View File

@@ -44,7 +44,15 @@ abstract class Expression
*/
abstract public function Translate($aTranslationData, $bMatchAll = true, $bMarkFieldsAsResolved = true);
// recursive rendering (aArgs used as input by default, or used as output if bRetrofitParams set to True
/**
* recursive rendering
*
* @param array $aArgs used as input by default, or used as output if bRetrofitParams set to True
* @param bool $bRetrofitParams
*
* @return array|string
* @throws \MissingQueryArgument
*/
abstract public function Render(&$aArgs = null, $bRetrofitParams = false);
/**
@@ -1259,6 +1267,14 @@ class VariableExpression extends UnaryExpression
}
// recursive rendering
/**
* @param null $aArgs
* @param bool $bRetrofitParams
*
* @return array|string
* @throws \MissingQueryArgument
*/
public function Render(&$aArgs = null, $bRetrofitParams = false)
{
if (is_null($aArgs))