Функция ngSetOrder

Устанавливает порядок выборки дочерних узлов

Список параметров

php tpl [int] id – Идентификатор узла
php tpl [string] sortBy – Сортировать дочерние узлы по ...
php tpl [array] children – Список идентификаторов узлов
php tpl [string] project – Имя проекта
php tpl [string] module – Имя модуля
tpl [string] var – Имя переменной для результата в шаблоне

Вызов в процессоре

$result = ngSetOrder([
  'id' => 1,
  'sortBy' => null,
  'children' => null,
  'project' => null,
  'module' => null,
]);

Вызов в шаблоне

{ngSetOrder
  id = 1
  sortBy = null
  children = null
  project = null
  module = null
  var = null
}