smf_db_search_support

Description

Tells SMF whether or not a particular search method is supported by the current db type

Syntax

bool smf_db_search_support (string $search_type)



Parameter $search_type

Expected type: String
Description: A particular search type



Return value

Expected type: Boolean
Description: True if the type is fulltext, false otherwise (SMF already knows that MySQL always supports the "custom" type)


Notes

  • Determines whether or not the given search type is supported by MySQL.
Advertisement: