CMSimple_XH
Public Member Functions | List of all members
XH\Search Class Reference

The search class. More...

Public Member Functions

 __construct ($searchString)
 Constructs an instance. More...
 
 search ()
 Returns an array of page indexes where all words of the search string are contained. More...
 
 render ()
 Returns the search results view. More...
 

Detailed Description

The search class.

Author
Peter Harteg peter.nosp@m.@har.nosp@m.teg.d.nosp@m.k
The CMSimple_XH developers devs@.nosp@m.cmsi.nosp@m.mple-.nosp@m.xh.o.nosp@m.rg
Since
1.6

Constructor & Destructor Documentation

◆ __construct()

XH\Search::__construct (   $searchString)

Constructs an instance.

Parameters
string$searchStringString The search string.

Member Function Documentation

◆ render()

XH\Search::render ( )

Returns the search results view.

Returns
string HTML

◆ search()

XH\Search::search ( )

Returns an array of page indexes where all words of the search string are contained.

Returns
array

The documentation for this class was generated from the following file: