Lines Matching full:we
27 * We received the nodes all ordered together, but building the tree has probably
28 * lost the order for namespaces, we hence need to sort again each node
31 // We only need to sort "children". We don't need to sort "pages" because with the current
32 // workflow of the plugin nodes are provided already sorted to _print, and the way we
35 // That could save some CPU cycles because instead of sorting a big list we would sort
38 // have a custom sort (eg: "-h1") to ensure we don't have the correct order just because
93 // What we want is array ['a', 'b', 'c']
122 // What we want is array ['a', 'b']
134 * method is available only from PHP 8 so for now we re-implement this feature
141 if (empty($keys)){ // We've reach the end of the journey. We register the data of $item
160 } else { // We're not at the place of $item in the tree yet, we continue to go down
226 * - when nspages is displaying only pages (because in that case we did not search for ns)
232 * Used to represent the current namespace when we're in a case where we want to display it
234 * In practice it is used to represent namespace nodes when we're asked to display pages only