Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/inri/public_html/daCode-HEAD/daCode/src/phplib/search.php3
daCode -

Search

Search

Class to implement a search fonction

 

private class Search

Class to implement a search fonction

daCode http://www.dacode.org/
src/phplib/search.php3
$Id: search.php3,v 1.69 2002/05/13 21:34:03 jbcombes Exp $

Depends: Config Db Utils

Authors

 

Public Method Summary

void

Search()

Class constructor
string

go_search()

Performs a search
string

adv_search_form()

Displays the advanced search form

Private Method Summary

string

display_results(integer $pos, integer $step)

Displays reults

Private Field Summary

object Db

$db

Database abstraction layer
object Session

$session

Session handling
object Utils

$utils

Utils package
object Html

$html

Rendering package
string

$keywords

Keywords to search.
string

$topic

Topic where to search
string

$section

Section where to search
string

$comments

Whether comments shall be included in search. "on" if they shall.
string

$author

Search for a post by specified author
string

$from

Date to start the search
string

$to

Enbd of time span

Public Method Details

Search

public void Search( )

  Class constructor

Returns void


go_search

public string go_search( )

  Performs a search

Returns string

error comment or results to display

Required global variables
array $HTTP_GET_VARS
See Also Search::display_results()

adv_search_form

public string adv_search_form( )

  Displays the advanced search form

Returns string

the form

Required global variables
array $HTTP_GET_VARS

Private Method Details

display_results

private string display_results( integer $pos, integer $step )

  Displays reults

Parameter
integer $pos
of first result to display
integer $step
number of the page of results
Returns string

search results


Private Field Details

$db

private object Db $db

>><<

Database abstraction layer


$session

private object Session $session

>><<

Session handling


$utils

private object Utils $utils

>><<

Utils package


$html

private object Html $html

>><<

Rendering package


$keywords

private string $keywords

>><<

Keywords to search.


$topic

private string $topic

>><<

Topic where to search


$section

private string $section

>><<

Section where to search


$comments

private string $comments

>><<

Whether comments shall be included in search. "on" if they shall.


$author

private string $author

>><<

Search for a post by specified author


$from

private string $from

>><<

Date to start the search


$to

private string $to

>><<

Enbd of time span



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta