simple-machines-forum/Sources/SearchAPI-Standard.php

37 lines
No EOL
687 B
PHP

<?php
/**
* Simple Machines Forum (SMF)
*
* @package SMF
* @author Simple Machines https://www.simplemachines.org
* @copyright 2022 Simple Machines and individual contributors
* @license https://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.1.0
*/
if (!defined('SMF'))
die('No direct access...');
/**
* Standard non full index, non custom index search
*/
class standard_search extends search_api
{
/**
* {@inheritDoc}
*/
public function supportsMethod($methodName, $query_params = null)
{
$return = false;
// Maybe parent got support
if (!$return)
$return = parent::supportsMethod($methodName, $query_params);
return $return;
}
}
?>