Mgallegos\LaravelJqgrid\Renders\JqGridRender::markFunctionTypeProperty PHP Method

markFunctionTypeProperty() protected method

First and last quotes will be removed from the javascript code to all properties marked by this method
protected markFunctionTypeProperty ( array &$properties ) : void
$properties array An array of valid jqGrid column model property, the key of the array must correspond to a column model property.
return void
    protected function markFunctionTypeProperty(array &$properties)
    {
        foreach ($properties as $key => &$value) {
            if (in_array($key, array_keys($this->functionTypeProperties))) {
                if (!in_array($value, $this->functionTypeProperties[$key])) {
                    $value = '###' . $value . '###';
                }
            } else {
                if (is_array($value) && array_values($value) != $value) {
                    $this->markFunctionTypeProperty($value);
                }
            }
        }
    }