Home > PHP > Function > Swish > SwishSearch->setStructure()

SwishSearch->setStructure()

SwishSearch->setStructure - Set the structure flag in the search object

Syntax

SwishSearch->setStructure (int $structure)

Arguments

  • structure - The structure flag a bitmask is used to limit search to certain parts of HTML documents (like title, meta, body etc.). Its possible values are listed below. To combine several values use bitwise OR operator, see example below.

Description

Version

PHP PECL swish >= 0.1.0

Return value

No value is returned.