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. |
Результат | 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);
}
}
}
}