id == $selected_resource; ?> getDerivedClassInstance() ?> id; ?>
  • level > $max_open_depth) || $hide) ? 'style="display: none;"' : ''; ?> > children)): ?> asSvg( [ 'class' => implode( ' ', [ 'resource-tree-node', ( in_array($resource->id, $resource_path) || (!$resource_path && $resource->level < $max_open_depth) ? 'rotated' : '' ) ] ), 'style' => implode( '; ', [ ( in_array($resource->id, $resource_path) || (!$resource_path && $resource->level < $max_open_depth) ? 'transform: rotate(90deg)' : '' ), 'cursor: pointer;' ] ), 'onClick' => 'STUDIP.Resources.toggleTreeNode($(this).parent());' ] ) ?> getIcon()->asSvg( [ 'class' => 'text-bottom' ] ) ?> name) ?> children): ?> render_partial( 'sidebar/room-search-tree-widget', [ 'resources' => $resource->children->orderBy('sort_position DESC, name'), 'selected_resource' => $selected_resource, 'resource_path' => $resource_path, 'hide' => ($resource_path && !in_array($resource->id, $resource_path)) ] ) ?>