16 Commits

Author SHA1 Message Date
raviks789
acf3b7d340 DocSearchIterator: PHPDoc for $section is moved above the variable declaration in method accept() 2023-08-23 10:53:13 +02:00
moreamazingnick
f84057fd83 Fix wrong return value breaks doc-module search
refs #4856
2022-07-05 15:42:46 +02:00
Johannes Meyer
c038e84fc2 Ensure Return Type Compatibility with Internal Classes 2022-03-24 12:29:06 +01:00
Alexander A. Klimov
474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
8563d5ed3f PHPDoc: Use @var instead of @type
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Eric Lippmann
fdec27d8a1 doc/lib: Remove DocSearchIterator::count()
refs #6630
2015-02-11 15:53:23 +01:00
Eric Lippmann
53af279ec2 doc/lib: Fix search criteria not splitting "complex" search strings correctly
refs #6630
2015-02-11 15:52:08 +01:00
Eric Lippmann
03100b8c59 doc/lib: Move all renderer classes to the renderer namespace
refs #6630
2015-02-11 14:10:12 +01:00
Eric Lippmann
924e67f2aa doc/lib: Rename Renderer to DocRenderer
refs #6630
2015-02-11 14:05:18 +01:00
Eric Lippmann
512eb3fe83 doc/lib: Remove DocSearchRenderer::highlight()
refs #6630
2015-02-11 13:16:55 +01:00
Eric Lippmann
ab78757483 doc/lib: Add DocSearchMatch::highlight()
refs #6630
2015-02-11 13:16:49 +01:00
Eric Lippmann
1053e62e20 doc/lib: Fix DocSearchIterator::count() counting too many
Because DocSearchIterator is a recursive filter iterator and we accept
any hode having children, those children not matching any of the search criteria
were counted too because of iterator_count.

refs #6630
2015-02-11 13:03:46 +01:00
Eric Lippmann
3b20e49940 doc/lib: Add renderer for doc searches
refs #6630
2015-02-10 17:13:17 +01:00
Eric Lippmann
e7b0f8d30f doc/lib: Add iterator over doc sections that match a given search criteria
refs #6630
2015-02-10 17:12:43 +01:00
Eric Lippmann
267c36d8d1 doc/lib: Add class DocSearchMatch represeting a search match
refs #6630
2015-02-10 17:11:48 +01:00
Eric Lippmann
312d18d14a doc/lib: Add DocSearch class for creating search criteria
refs #6630
2015-02-10 17:11:00 +01:00