$database->getStopwords() method

Get all fulltext stopwords for database engine

Usage

// basic usage
$array = $database->getStopwords();

// usage with all arguments
$array = $database->getStopwords(string $engine = '', bool $flip = false);

Arguments

NameType(s)Description
engine (optional)string

Specify DB engine of "myisam" or "innodb" or omit for current DB engine

flip (optional)bool

Return flipped array where stopwords are array keys rather than values? for isset() use (default=false)

Return value

array


$database methods and properties

API reference based on ProcessWire core version 3.0.236

“ProcessWire is like a breath of fresh air. So powerful yet simple to build with and customise, and web editors love it too.” —Margaret Chatwin, Web developer