Source of file SearchManipulateCapture_MySQLDatabase.php
Size: 0,591 Bytes - Last Modified: 2021-12-23T10:31:32+00:00
/var/www/docs.ssmods.com/process/src/src/Search/Captures/SearchManipulateCapture_MySQLDatabase.php
123456789101112131415161718192021222324 | <?php namespace SilverStripe\FullTextSearch\Search\Captures; use SilverStripe\ORM\Connect\MySQLDatabase; use SilverStripe\FullTextSearch\Search\Updaters\SearchUpdater; /** * @deprecated 3.1...4.0 Please use tractorcow/silverstripe-proxy-db to proxy the database connector instead */ class SearchManipulateCapture_MySQLDatabase extends MySQLDatabase { public $isManipulationCapture = true; public function manipulate($manipulation) { $res = parent::manipulate($manipulation); SearchUpdater::handle_manipulation($manipulation); return $res; } } |