Difference between revisions of "Search Functions"

From GeeklogWiki
Jump to: navigation, search
(didn't want to delete it yet in case there are any external links to it ...)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
If you want your plugin to be searchable, implement these functions.</p>
+
This page is obsolete. Instead, please refer to:
  
      <table cellpadding="2" cellspacing="2" border="1" width="90%" align="Center">
+
* [[Using Geeklog's Improved Search Engine]] (Geeklog 1.6.0 and later)
        <caption align="bottom">Table 3. Search functions</caption>
+
* [[Using Geeklog's Search Engine]] (Geeklog 1.5.x and earlier)
          <tr>
 
            <th valign="top">Function</th>
 
            <th valign="top">Description of Function</th>
 
          </tr>
 
          <tr>
 
            <td valign="top" class="codeheader">plugin_getsearchtypes_&lt;plugin
 
    name&gt;</td>
 
            <td valign="top" class="code">You will probably want to add a
 
    new type in the Type drop down on search.php.&nbsp; This function prints
 
    the option tags needed. make sure that the value tag is &lt;plugin name&gt;</td>
 
          </tr>
 
          <tr>
 
            <td valign="top" class="codeheader">plugin_dopluginsearch_&lt;plugin
 
    name&gt;</td>
 
            <td valign="top" class="code">Takes the search criteria and lets
 
    you build search results for your plugin.&nbsp; This returns a string
 
array    of table rows, one row for each record returned by your search.</td>
 
          </tr>
 
      </table>
 
 
 
[[Category:Plugin Development]]
 

Latest revision as of 16:51, 6 June 2009

This page is obsolete. Instead, please refer to: