SwishSearch::setStructure

(PECL swish >= 0.1.0)

SwishSearch::setStructure — Set the structure flag in the search object

Description

voidSwishSearch::setStructure
( int$structure
)

Warning

This function is
EXPERIMENTAL. The behaviour of this function, its name, and
surrounding documentation may change without notice in a future release of PHP.
This function should be used at your own risk.

Parameters

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.