Returns value from jsopenParams

@return boolean $evalValue is set
@author Benjamin Butschell bb@webprofil.at>
11236
public function render()
    {
        $fieldKey = $this->arguments['fieldKey'];
        $elementKey = $this->arguments['elementKey'];
        $property = $this->arguments['property'];
        $field = $this->arguments['field'];

        $this->generalUtility = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('MASK\\Mask\\Utility\\GeneralUtility');
        $this->fieldHelper = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('MASK\\Mask\\Helper\\FieldHelper');

        if ($field) {
            if ($field["inlineParent"]) {
                $type = $field["inlineParent"];
                $fieldKey = "tx_mask_" . $field["key"];
            } else {
                $type = $this->fieldHelper->getFieldType($fieldKey, $elementKey, true);
            }
        } else {
            $type = $this->fieldHelper->getFieldType($fieldKey, $elementKey);
        }
        return $this->generalUtility->getJsOpenParamValue($fieldKey, $property, $type);
    }
172312
protected function getPropertyValue()
    {
        if (!$this->viewHelperVariableContainer->exists(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'formObject')) {
            return null;
        }
        $formObject = $this->viewHelperVariableContainer->get(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'formObject');
        $propertyNameOrPath = $this->arguments['property'];
        return ObjectAccess::getPropertyPath($formObject, $propertyNameOrPath);
    }
108902
function getQueryParameterValue(url, parameterName) {
        var parts;
        var query = (url || '').split('?');
        if (query && query.length > 0) {
            parts = query[1];
        }
        else {
            parts = '';
        }
        var vars = parts.split('&');
        for (var i = 0; i < vars.length; i++) {
            var pair = vars[i].split('=');
            if (decodeURIComponent(pair[0]) == parameterName) {
                return decodeURIComponent(pair[1]);
            }
        }
        // not found
        return null;
    }
1316938
function fetchObjectAttributeHTTPInput( $http, $base, $contentObjectAttribute )
    {
        $multiprice = $contentObjectAttribute->attribute( 'content' );

        $priceArrayName = $base . "_price_array_" . $contentObjectAttribute->attribute( "id" );
        if ( $http->hasPostVariable( $priceArrayName ) )
        {
            $customPriceList = $http->postVariable( $priceArrayName );

            foreach ( $customPriceList as $currencyCode => $value )
                $multiprice->setCustomPrice( $currencyCode, $value );
        }

        $multiprice->updateAutoPriceList();

        $vatType = $http->postVariable( $base . '_ezmultiprice_vat_id_' . $contentObjectAttribute->attribute( 'id' ) );
        $vatExInc = $http->postVariable( $base . '_ezmultiprice_inc_ex_vat_' . $contentObjectAttribute->attribute( 'id' ) );
        $multiprice->setAttribute( 'selected_vat_type', $vatType );
        $multiprice->setAttribute( 'is_vat_included', $vatExInc );

        $data_text = $vatType . ',' . $vatExInc;
        $contentObjectAttribute->setAttribute( 'data_text', $data_text );

        return true;
    }
1146933
function _findValue()
    {
        if (empty($_FILES)) {
            return null;
        }
        $elementName = $this->getName();
        if (isset($_FILES[$elementName])) {
            return $_FILES[$elementName];
        } elseif (false !== ($pos = strpos($elementName, '['))) {
            $base  = substr($elementName, 0, $pos);
            $idx   = "['" . str_replace(array(']', '['), array('', "']['"), substr($elementName, $pos + 1, -1)) . "']";
            $props = array('name', 'type', 'size', 'tmp_name', 'error');
            $code  = "if (!isset(\$_FILES['{$base}']['name']{$idx})) {\n" .
                     "    return null;\n" .
                     "} else {\n" .
                     "    \$value = array();\n";
            foreach ($props as $prop) {
                $code .= "    \$value['{$prop}'] = \$_FILES['{$base}']['{$prop}']{$idx};\n";
            }
            return eval($code . "    return \$value;\n}\n");
        } else {
            return null;
        }
    }
1206214
public function hasAppliedValue()
    {
        $customFunction = $this->getHasAppliedValueFunction();

        if (is_callable($customFunction)) {
            $result = call_user_func($customFunction, $this);

            if (!is_bool($result)) {
                throw new FilterException('Returned value from callable function must be boolean.');
            }

            return $result;
        }

        if ($this->isSingle() === false) {
            return $this->getConvertedFromValue() !== null || $this->getConvertedToValue() !== null;
        }

        return $this->getConvertedValue() !== null;
    }
5227
public int doEndTag()
            throws JspException {

        if(hasErrors())
            reportErrors();
        else {
            AbstractCallMethod cm = (AbstractCallMethod)getParent();
            cm.addParameter(_type, _isNull ? null : _value);
        }

        localRelease();
        return EVAL_PAGE;
    }
174759
public function & __get($key)
    {
        if (array_key_exists($key, $this->_data))
        {
            return $this->_data[$key];
        }
        elseif (array_key_exists($key, View::$_globalData))
        {
            return self::$_globalData[$key];
        }
        else
        {
            throw new ViewException('View variable is not set: :var', [
                ':var' => $key
            ]);
        }
    }
501314
public int doEndTag() throws JspException
    {
        boolean usingDefault = false;
        boolean bypassEscape = false;

        String scriptId = null;
        ServletRequest req = pageContext.getRequest();
        Object labelObject = null;

        String labelValue = null;

        // if this is not client side binding, evalute the value
        if (_value != null)
            labelObject = _value;
        else {
            if (_defaultValue != null) {
                labelObject = _defaultValue;
                bypassEscape = HtmlUtils.containsEntity(_defaultValue.toString());
            }
            else {
                logger.warn(Bundle.getString("Tags_LabelExpressionNull", _value));
                labelObject = DEFAULT_NULL_TEXT;
            }
            usingDefault = true;
        }

        // we assume that tagId will over have override id if both
        // are defined.
        if (_state.id != null) {
            scriptId = renderNameAndId((HttpServletRequest) req, _state, null);
        }

        // push the evaluated expression when we are not client side bound...
        labelValue = (usingDefault && !_formatDefaultValue) ?
                labelObject.toString() : formatText(labelObject);

        if (hasErrors())
            return reportAndExit(EVAL_PAGE);

        // fully qualify the for attribute if it exists
        if (_state.forAttr != null) {
            _state.forAttr = getIdForTagId(_state.forAttr);

        }

        WriteRenderAppender writer = new WriteRenderAppender(pageContext);
        TagRenderingBase br = TagRenderingBase.Factory.getRendering(TagRenderingBase.LABEL_TAG, req);
        br.doStartTag(writer, _state);

        // push the evaluated expression when we are not client side bound...
        //if (!usingDefault)
        //    labelValue = formatText(labelValue);

        if (!bypassEscape)
            filter(labelValue, writer, _escapeWhiteSpace);
        else
            write(labelValue);
        br.doEndTag(writer);

        if (scriptId != null)
            write(scriptId);

        localRelease();
        return EVAL_PAGE;
    }
30100
function fetchObjectAttributeHTTPInput( $http, $base, $contentObjectAttribute )
    {
        $data = $http->postVariable( $base . "_data_price_" . $contentObjectAttribute->attribute( "id" ) );
        $vatType = $http->postVariable( $base . '_ezprice_vat_id_' . $contentObjectAttribute->attribute( 'id' ) );
        $vatExInc = $http->postVariable( $base . '_ezprice_inc_ex_vat_' . $contentObjectAttribute->attribute( 'id' ) );

        $locale = eZLocale::instance();
        $data = $locale->internalCurrency( $data );

        $data_text = $vatType . ',' . $vatExInc;

        $contentObjectAttribute->setAttribute( "data_float", $data );
        $contentObjectAttribute->setAttribute( 'data_text', $data_text );

        return true;
    }
1229217
public function getGet($name){

		//check if null param supplied and return the while GET array
		if($name === null){

			//return the whole array
			return $this->getInputData;

		}

		//check for named paramter
		elseif ($this->KeyExists($name, $this->getInputData)) {
			
			//return the value of this key
			return htmlentities($this->getInputData[$name], ENT_QUOTES);

		}

		//this key does not exists, return bool false
		else{

			//return bool false
			return false;

		}

	}
4894
public function GetActiveEndValue()
    {
        $sEndValue = false;
        if (is_array($this->aActiveFilterData) && array_key_exists(self::URL_PARAMETER_FILTER_END_VALUE, $this->aActiveFilterData)) {
            $sEndValue = $this->aActiveFilterData[self::URL_PARAMETER_FILTER_END_VALUE];
        }

        return $sEndValue;
    }
276727
public function evaluateResult()
	{
		// Check the variable set is not all fallback values
		$factsFallback = $this->factVariableBindings && ! count( array_filter( $this->factVariableBindings,
			function( /** @var VariableBinding $variableBinding */ $variableBinding )
			{
				return ! $variableBinding->isFallback;
			} )
		);

		// $generalsFallback =  $this->generalVariableBindings && ! count( array_filter( $this->generalVariableBindings,
		// 	function( /** @var VariableBinding $variableBinding */ $variableBinding )
		// 	{
		// 		return ! $variableBinding->isFallback;
		// 	} )
		// );

		if ( $factsFallback /* && $generalsFallback */ )
		{
			return false;

			$msg = "All facts have fallback values";
			\XBRL_Log::getInstance()->formula_validation( "Variable set evaluation", $msg, array(
				'variable set' => get_called_class()
			) );

			throw new \Exception( $msg );
		}

		// Check preconditions
		if ( ! $this->preconditions )
		{
			return true;
		}

		foreach ( $this->preconditions as $precondition )
		{
			try
			{
				$vars = $this->getBindingsAsVars();
				$result = $this->evaluateXPathExpression( $this, $precondition->testXPathExpression, $vars );
				// The pre-condition result should be true or false and only true will allow the evaluation to be counted
				if ( ! $result instanceof CoreFuncs::$True )
				{
					if ( ! $result instanceof CoreFuncs::$False )
					{
						throw XPath2Exception::withErrorCodeAndParam( "FORG0006", "The precondition with label '{0}' did not return a boolean result", $precondition->label );
					}

					return false;
				}
			}
			catch( XPath2Exception $ex )
			{
				throw $ex;
			}
			catch( \Exception $ex )
			{
				throw $ex;
			}
		}

		return true;
	}
702914
protected function _vars($data, $isExpanded = false)
    {
        $_is_object = is_object($data);

        ?>
        <div class="jbnest" style="<?php echo $isExpanded ? 'display:block' : 'display:none'; ?>">
            <ul class="jbnode">
                <?php
                $keys = ($_is_object) ? array_keys(@get_object_vars($data)) : array_keys($data);

                // sorting
                if (self::$_config['sort']['object'] && $_is_object) {
                    sort($keys);
                } elseif (self::$_config['sort']['array']) {
                    sort($keys);
                }

                // get entries
                foreach ($keys as $key) {
                    $value = null;
                    if ($_is_object && property_exists($data, $key)) {
                        $value = $data->$key;
                    } else {
                        if (is_array($data) && array_key_exists($key, $data)) {
                            $value = $data[$key];
                        }
                    }

                    $this->_dump($value, $key);
                }

                // get methods
                if ($_is_object && self::$_config['dump']['showMethods']) {
                    if ($methods = $this->_getMethods($data)) {
                        $this->_dump($methods, '&lt;! methods of "' . get_class($data) . '" !&gt;');
                    }
                }
                ?>
            </ul>
        </div>
    <?php
    }
1062171
protected function _getPostParamValue($sValue)
    {
        if (strpos($sValue, '@') === 0 && function_exists('curl_file_create')) {
            $sValue = curl_file_create(substr($sValue, 1));
        }

        return $sValue;
    }
346623
public function getEval($key)
    {
        if (array_key_exists($key, $this->eval)) {
            return $this->eval[$key];
        }

        return false;
    }
909368
public function evaluateRule($fieldValue)
    {
        // what type of variable are we dealing with?
        // todo maybe pick and choose when to treat variable as string
        $testFunction = "return ('" . $fieldValue . "' $this->operator  '$this->value' ) ? true : false ;";
        $result = eval($testFunction);
        if (!is_bool($result)) {
            throw new HTTPException('DenyIf rule returned invalid result.  Must be a boolean', 500, ['code' => '136497941613689198']);
        }
        return $result;
    }