MediaWiki  REL1_19
SearchUpdate Class Reference

Database independant search index updater. More...

Inheritance diagram for SearchUpdate:
Collaboration diagram for SearchUpdate:

List of all members.

Public Member Functions

 __construct ($id, $title, $text=false)
 doUpdate ()
 Perform the actual work.

Public Attributes

 $mNamespace
 $mText
 $mTitle

Private Attributes

 $mId = 0
 $mTitleWords

Detailed Description

Database independant search index updater.

Definition at line 16 of file SearchUpdate.php.


Constructor & Destructor Documentation

SearchUpdate::__construct ( id,
title,
text = false 
)

Definition at line 21 of file SearchUpdate.php.

References $title, Title\newFromText(), and wfDebug().

Here is the call graph for this function:


Member Function Documentation

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 36 of file SearchUpdate.php.

References $wgContLang, $wgDisableSearchUpdate, SearchEngine\create(), Title\indexTitle(), SearchEngine\legalSearchChars(), wfProfileIn(), wfProfileOut(), and wfRunHooks().

Referenced by Maintenance\updateSearchIndexForPage().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

SearchUpdate::$mId = 0 [private]

Definition at line 18 of file SearchUpdate.php.

SearchUpdate::$mNamespace

Definition at line 18 of file SearchUpdate.php.

SearchUpdate::$mText

Definition at line 18 of file SearchUpdate.php.

SearchUpdate::$mTitle

Definition at line 18 of file SearchUpdate.php.

SearchUpdate::$mTitleWords [private]

Definition at line 19 of file SearchUpdate.php.


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