X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=includes%2Fcontent%2FCodeContentHandler.php;h=2bbf6ca7b25971bd68788bb8a346070d55e8fd99;hb=90e62fa089fcc508267dc7e68bd05b620ac99ba9;hp=447a2a732a08c903b7bf2ce2a92624214f7eb383;hpb=38d59dd21347dc5167fbef94a0558f6bbdcd4195;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/CodeContentHandler.php b/includes/content/CodeContentHandler.php index 447a2a732a..2bbf6ca7b2 100644 --- a/includes/content/CodeContentHandler.php +++ b/includes/content/CodeContentHandler.php @@ -58,8 +58,17 @@ abstract class CodeContentHandler extends TextContentHandler { /** * @return string + * @throws MWException */ protected function getContentClass() { throw new MWException( 'Subclass must override' ); } + + /** + * @param SearchEngine $engine + * @return array + */ + public function getFieldsForSearchIndex( SearchEngine $engine ) { + return []; + } }