private function value($key, \Nette\ArrayHash $arr) { return $arr->offsetExists($key) ? $arr->offsetGet($key) : ''; }