芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/search/engine/solr/tests/fixtures/testable_engine.php
. namespace search_solr; /** * Search engine for testing purposes. * * @package search_solr * @category phpunit * @copyright 2016 Eric Merrill {@link http://www.merrilldigital.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die; class testable_engine extends \search_solr\engine { /** * Function that lets us update the internally cached config object of the engine. */ public function test_set_config($name, $value) { $this->config->$name = $value; } }