net-geeklog-search
[ class tree: net-geeklog-search ] [ index: net-geeklog-search ] [ all elements ]

Class: Search

Source Location: /system/classes/search.class.php

Class Overview


Geeklog Search Class


Author(s):

  • Tony Bibbs, tony AT geeklog DOT net

Methods



Class Details

[line 49]
Geeklog Search Class



Tags:

author:  Tony Bibbs, tony AT geeklog DOT net


[ Top ]


Class Methods


constructor Search [line 76]

Search Search( )

Constructor

Sets up private search variables




Tags:

author:  Tony Bibbs, tony AT geeklog DOT net
access:  public


[ Top ]

method doSearch [line 402]

string doSearch( )

Kicks off the appropriate search(es)

Initiates the search engine and returns HTML formatted results. It also provides support to plugins using a search API. Backwards compatibility has been incorporated in this function to allow legacy support to plugins using the old API calls defined versions prior to Geeklog 1.5.1




Tags:

return:  HTML output for search results
access:  public


[ Top ]

method searchFormatCallback [line 665]

array searchFormatCallback( $preSort, array $row)

Callback function for the ListFactory class

This function gets called by the ListFactory class and formats each row accordingly for example pulling usernames from the users table and displaying a link to their profile.




Tags:

return:  A reformatted version of the input array
access:  public


Parameters:

array   $row   An array of plain data to format
   $preSort  

[ Top ]

method showForm [line 177]

string showForm( )

Shows search form

Shows advanced search page




Tags:

return:  HTML output for form
author:  Tony Bibbs, tony AT geeklog DOT net
access:  public


[ Top ]


Documentation generated on Fri, 25 May 2012 02:10:14 -0400 by phpDocumentor 1.4.3