NoPic eZine
  
Home
Impressum/Imprint
Datenschutz/Policies
 
1.Issue 2006.06/1
 1.1.phpWebSite 1.0.0RC1 released
 1.2.Installing pWS 1.0.0rc1
 1.3.Running thru install
   Install screen 1 (welcome)
   Install screen 2 (source,pear)
   Install screen 3 (db)
   Install screen 4 (config file done)
   Install screen 5 (core done)
   Install screen 6 (admin account)
   Install screen 7 (mod users)
   Install screen 8 (control panel)
   Install screen 9 (theme select)
   Install screen 10 (mod layout)
   Install screen 11 (mod boost)
   Install screen 12 (mod related)
   Install screen 13 (category)
   Install screen 14 (filecabinet)
   Install screen 15 (version)
   Install screen 16 (mod clipboard)
   Install screen 17 (mod notes)
   Install screen 18 (demographics)
   Install screen 19 (comments)
   Install screen 20 (search)
    Readme Search content
   Install screen 21 (MiniAdmin)
 1.4.First anonymous touch
 1.5.Exploring fallout surface inside
 1.6.Module substitution
 1.7.Directory Tree
 1.8.Database Tables
 1.9.ReadMe summary
 1.10.Using module WebPages
 1.11.Using module MenuManager
 1.12.Using webPages Editor
 1.13.Styling and Themes

    en

Install screen 20 (search)

Module search has installed.

Readme Search content

Source: docs/Search.txt

Adding search to your module
By Matthew McNaney <phpwebsite at tux dot appstate dot edu>
----------------------------------------------------


Introduction
-------------------------------------------------------------------
Adding search to your mod is really simple. All that is required is
usage of the Key class. If your module isn't using Key, then you will
need to build in your own search capabilities.


The search object
-------------------------------------------------------------------
To begin, you need to create a search object:

$search = & new Search($key_id);

The key_id variable is the id to the key indexed to your content item.

Next you need to filter some content through the search object. The
search object will attempt to filter out search keywords.

$search->addKeywords($content);

You could also add your element's title, location, address, etc. just
by calling addKeywords again:

$search->addKeywords($title);

Once you are finished filtering keywords, just save the search object.

$search->save();

The result of the save function will either be true or an error
object.

    en

Copyright © 2006, VbID Verlagsbüro GmbH
pWS modules dcP, dcT, dc4db, Copyright © 2006, VbID Verlagsbüro GmbH
This Site is powered by phpWebSite © The Web Technology Group, Appalachian State University