12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /**
- * Simple Machines Forum (SMF)
- *
- * @package SMF
- * @author Simple Machines http://www.simplemachines.org
- * @copyright 2012 Simple Machines
- * @license http://www.simplemachines.org/about/smf/license.php BSD
- *
- * @version 2.1 Alpha 1
- */
- if (!defined('SMF'))
- die('Hacking attempt...');
- class standard_search
- {
- // This is the last version of SMF that this was tested on, to protect against API changes.
- public $version_compatible = 'SMF 2.1 ALpha';
- // This won't work with versions of SMF less than this.
- public $min_smf_version = 'SMF 2.1 Alpha 1';
- // Standard search is supported by default.
- public $is_supported = true;
- // Method to check whether the method can be performed by the API.
- public function supportsMethod($methodName, $query_params = null)
- {
- // Always fall back to the standard search method.
- return false;
- }
- }
|