Skip to content

Commit

Permalink
shorten lines in phpdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Klap-in committed Jan 4, 2024
1 parent 9ca70af commit db99c6c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ private function makeNodes(&$data, $indexLatestParsedItem, $previousLevel, &$nod
* <li>$opts['skipfilecombined'] array regexp matching pageids to skip</li>
* <li>$opts['headpage'] string headpages options or pageids</li>
* <li>$opts['level'] int desired depth of main namespace, -1 = all levels</li>
* <li>$opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own number of
* opened levels</li>
* <li>$opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own
* number of opened levels</li>
* <li>$opts['nons'] bool exclude namespace nodes</li>
* <li>$opts['max'] int If initially closed, the node at max level will retrieve all its child nodes through</li>
* the AJAX mechanism</li>
* <li>$opts['max'] int If initially closed, the node at max level will retrieve all its child nodes
* through the AJAX mechanism</li>
* <li>$opts['nopg'] bool exclude page nodes</li>
* <li>$opts['hide_headpage'] int don't hide (0) or hide (1)</li>
* <li>$opts['js'] bool use js-render (only used for old 'searchIndexmenuItems')</li>
Expand Down Expand Up @@ -249,11 +249,11 @@ public function search($ns, $opts): array
* <li>$opts['skipfilecombined'] array regexp matching pageids to skip,</li>
* <li>$opts['headpage'] string headpages options or pageids,</li>
* <li>$opts['level'] int desired depth of main namespace, -1 = all levels,</li>
* <li>$opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own number of o
* pened levels,</li>
* <li>$opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own number
* of opened levels,</li>
* <li>$opts['nons'] bool Exclude namespace nodes,</li>
* <li>$opts['max'] int If initially closed, the node at max level will retrieve all its child nodes through the AJAX
* mechanism,</li>
* <li>$opts['max'] int If initially closed, the node at max level will retrieve all its child nodes through
* the AJAX mechanism,</li>
* <li>$opts['nopg'] bool Exclude page nodes,</li>
* <li>$opts['hide_headpage'] int don't hide (0) or hide (1),</li>
* <li>$opts['js'] bool use js-render</li>
Expand Down Expand Up @@ -413,7 +413,8 @@ public function searchIndexmenuItems(&$data, $base, $file, $type, $lvl, $opts)
* <li>$opts['skipfilecombined'] array regexp matching pageids to skip</li>
* <li>$opts['headpage'] string headpages options or pageids</li>
* <li>$opts['level'] int desired depth of main namespace, -1 = all levels</li>
* <li>$opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their own level</li>
* <li>$opts['subnss'] array with entries: array(namespaceid,level) specifying namespaces with their
* own level</li>
* <li>$opts['nons'] bool exclude namespace nodes</li>
* <li>$opts['max'] int If initially closed, the node at max level will retrieve all its child nodes
* through the AJAX mechanism</li>
Expand Down

0 comments on commit db99c6c

Please sign in to comment.