[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/Items/AttributeFilters/ -> UrlFilter.php (source)

   1  <?php
   2  
   3  /**
   4  * @package   s9e\TextFormatter
   5  * @copyright Copyright (c) 2010-2022 The s9e authors
   6  * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
   7  */
   8  namespace s9e\TextFormatter\Configurator\Items\AttributeFilters;
   9  
  10  use s9e\TextFormatter\Configurator\Items\AttributeFilter;
  11  
  12  class UrlFilter extends AttributeFilter
  13  {
  14      /**
  15      * Constructor
  16      */
  17  	public function __construct()
  18      {
  19          parent::__construct('s9e\\TextFormatter\\Parser\\AttributeFilters\\UrlFilter::filter');
  20  
  21          $this->resetParameters();
  22          $this->addParameterByName('attrValue');
  23          $this->addParameterByName('urlConfig');
  24          $this->addParameterByName('logger');
  25          $this->setJS('UrlFilter.filter');
  26      }
  27  
  28      /**
  29      * {@inheritdoc}
  30      */
  31  	public function isSafeInCSS()
  32      {
  33          return true;
  34      }
  35  
  36      /**
  37      * {@inheritdoc}
  38      */
  39  	public function isSafeInJS()
  40      {
  41          return true;
  42      }
  43  
  44      /**
  45      * {@inheritdoc}
  46      */
  47  	public function isSafeAsURL()
  48      {
  49          return true;
  50      }
  51  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1