From db99c6c2156330603c84ada497f0ec98eb5f3986 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Thu, 4 Jan 2024 14:13:04 +0100 Subject: [PATCH] shorten lines in phpdocs --- Search.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Search.php b/Search.php index 7439cbb..2fd9d87 100644 --- a/Search.php +++ b/Search.php @@ -202,11 +202,11 @@ private function makeNodes(&$data, $indexLatestParsedItem, $previousLevel, &$nod *
  • $opts['skipfilecombined'] array regexp matching pageids to skip
  • *
  • $opts['headpage'] string headpages options or pageids
  • *
  • $opts['level'] int desired depth of main namespace, -1 = all levels
  • - *
  • $opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own number of - * opened levels
  • + *
  • $opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own + * number of opened levels
  • *
  • $opts['nons'] bool exclude namespace nodes
  • - *
  • $opts['max'] int If initially closed, the node at max level will retrieve all its child nodes through
  • - * the AJAX mechanism + *
  • $opts['max'] int If initially closed, the node at max level will retrieve all its child nodes + * through the AJAX mechanism
  • *
  • $opts['nopg'] bool exclude page nodes
  • *
  • $opts['hide_headpage'] int don't hide (0) or hide (1)
  • *
  • $opts['js'] bool use js-render (only used for old 'searchIndexmenuItems')
  • @@ -249,11 +249,11 @@ public function search($ns, $opts): array *
  • $opts['skipfilecombined'] array regexp matching pageids to skip,
  • *
  • $opts['headpage'] string headpages options or pageids,
  • *
  • $opts['level'] int desired depth of main namespace, -1 = all levels,
  • - *
  • $opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own number of o - * pened levels,
  • + *
  • $opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own number + * of opened levels,
  • *
  • $opts['nons'] bool Exclude namespace nodes,
  • - *
  • $opts['max'] int If initially closed, the node at max level will retrieve all its child nodes through the AJAX - * mechanism,
  • + *
  • $opts['max'] int If initially closed, the node at max level will retrieve all its child nodes through + * the AJAX mechanism,
  • *
  • $opts['nopg'] bool Exclude page nodes,
  • *
  • $opts['hide_headpage'] int don't hide (0) or hide (1),
  • *
  • $opts['js'] bool use js-render
  • @@ -413,7 +413,8 @@ public function searchIndexmenuItems(&$data, $base, $file, $type, $lvl, $opts) *
  • $opts['skipfilecombined'] array regexp matching pageids to skip
  • *
  • $opts['headpage'] string headpages options or pageids
  • *
  • $opts['level'] int desired depth of main namespace, -1 = all levels
  • - *
  • $opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own level
  • + *
  • $opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their + * own level
  • *
  • $opts['nons'] bool exclude namespace nodes
  • *
  • $opts['max'] int If initially closed, the node at max level will retrieve all its child nodes * through the AJAX mechanism