Class Gadget_Search_Fulltext

Description

Gadget_Search_Fulltext

  • since: 1.0

Located in /Gadget/Search/Fulltext.php (line 27)

Gadget_Object
   |
   --Gadget_Search_Fulltext
Variable Summary
int $bool
array $cols
string $foreignId
string $ident
string $query
string $search
string $table
string $where
Method Summary
bool clearResults ([int $expires = 1200])
mixed doSearch ()
string generateIdent (mixed $idents)
void onAfterConstruct (array $options)
int resultExists ([int $expires = 1200])
Variables
int $bool (line 76)

Boolean Search

array $cols = array() (line 41)

Search Columns

string $foreignId = 'id' (line 34)

Foreign ID

string $ident = '' (line 62)

Ident String

string $query = '
INSERT INTO searches
(ident, foreignid, rank)
SELECT
"%s",
%s,
MATCH(%s) AGAINST ("%s" %s) AS Gadget_Search_RANK
FROM
%s
WHERE
MATCH(%s) AGAINST ("%s" %s)
%s
ORDER BY
Gadget_Search_RANK DESC
'
(line 83)

Query

string $search = '' (line 69)

Search String

string $table = '' (line 48)

Table(s)

string $where = '' (line 55)

Where Condition

Methods
clearResults (line 160)

Clear Results

  • access: public
bool clearResults ([int $expires = 1200])
  • int $expires
doSearch (line 115)

Do Search

  • access: public
mixed doSearch ()
generateIdent (line 104)

Generate Ident

  • access: public
string generateIdent (mixed $idents)
  • mixed $idents
onAfterConstruct (line 92)

On After Construct

  • access: protected
void onAfterConstruct (array $options)
  • array $options

Redefinition of:
Gadget_Object::onAfterConstruct()
On After Construct
resultExists (line 145)

Result Exists

  • access: public
int resultExists ([int $expires = 1200])
  • int $expires

Inherited Methods

Inherited From Gadget_Object

Gadget_Object::Gadget_Object()
Gadget_Object::onAfterConstruct()
Gadget_Object::onBeforeConstruct()
Gadget_Object::setOptions()

Documentation generated on Sun, 03 Jul 2005 12:45:45 +0200 by phpDocumentor 1.3.0RC3