[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * 4 * This file is part of the phpBB Forum Software package. 5 * 6 * @copyright (c) phpBB Limited <https://www.phpbb.com> 7 * @license GNU General Public License, version 2 (GPL-2.0) 8 * 9 * For full copyright and license information, please see 10 * the docs/CREDITS.txt file. 11 * 12 */ 13 14 namespace phpbb\feed; 15 16 /** 17 * Modified quote_helper for feeds (basically just removing all attributes) 18 */ 19 class quote_helper extends \phpbb\textformatter\s9e\quote_helper 20 { 21 /** 22 * {@inheritdoc} 23 */ 24 public function inject_metadata($xml) 25 { 26 // In feeds we don't want any attributes, so delete all of them 27 return \s9e\TextFormatter\Utils::replaceAttributes( 28 $xml, 29 'QUOTE', 30 function () 31 { 32 return []; 33 } 34 ); 35 } 36 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |