Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct('s9e\\TextFormatter\\Parser\\BuiltInFilters::filterUrl');
     $this->resetParameters();
     $this->addParameterByName('attrValue');
     $this->addParameterByName('urlConfig');
     $this->addParameterByName('logger');
     $this->setJS('BuiltInFilters.filterUrl');
 }
Exemplo n.º 2
0
 /**
  * Constructor
  *
  * @param  string $regexp PCRE regexp
  * @return void
  */
 public function __construct($regexp = null)
 {
     parent::__construct('s9e\\TextFormatter\\Parser\\BuiltInFilters::filterRegexp');
     $this->resetParameters();
     $this->addParameterByName('attrValue');
     $this->addParameterByName('regexp');
     $this->setJS('BuiltInFilters.filterRegexp');
     if (isset($regexp)) {
         $this->setRegexp($regexp);
     }
 }
Exemplo n.º 3
0
 public function __construct(array $map = \null, $caseSensitive = \false, $strict = \false)
 {
     parent::__construct('s9e\\TextFormatter\\Parser\\BuiltInFilters::filterMap');
     $this->resetParameters();
     $this->addParameterByName('attrValue');
     $this->addParameterByName('map');
     $this->setJS('BuiltInFilters.filterMap');
     if (isset($map)) {
         $this->setMap($map, $caseSensitive, $strict);
     }
 }
Exemplo n.º 4
0
 public function __construct($min = \null, $max = \null)
 {
     parent::__construct('s9e\\TextFormatter\\Parser\\BuiltInFilters::filterRange');
     $this->resetParameters();
     $this->addParameterByName('attrValue');
     $this->addParameterByName('min');
     $this->addParameterByName('max');
     $this->addParameterByName('logger');
     $this->setJS('BuiltInFilters.filterRange');
     if (isset($min)) {
         $this->setRange($min, $max);
     }
 }
Exemplo n.º 5
0
 public function __construct()
 {
     parent::__construct('s9e\\TextFormatter\\Parser\\BuiltInFilters::filterSimpletext');
     $this->setJS('BuiltInFilters.filterSimpletext');
 }