Manuál PHP | ||
---|---|---|
Předcházející | Další |
SwishSearch->setStructure
(no version information, might be only in CVS)
SwishSearch->setStructure -- Set the structure flag in the search objectPopis
void SwishSearch->setStructure ( int structure )Varování |
Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí. |
Seznam parametrů
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.
Swish::IN_FILE
Swish::IN_TITLE
Swish::IN_HEAD
Swish::IN_BODY
Swish::IN_COMMENTS
Swish::IN_HEADER
Swish::IN_EMPHASIZED
Swish::IN_META
Příklady
Předcházející | Domů | Další |
SwishSearch->setSort | Nahoru |