| 1 | <?php |
||
| 12 | class Configurator extends ConfiguratorBase |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string Name of attribute that stores the link's URL |
||
| 16 | */ |
||
| 17 | protected $attrName = 'email'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | protected $quickMatch = '@'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | protected $regexp = '/\\b[-a-z0-9_+.]+@[-a-z0-9.]*[a-z0-9]/Si'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string Name of the tag used to represent links |
||
| 31 | */ |
||
| 32 | protected $tagName = 'EMAIL'; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Creates the tag used by this plugin |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | protected function setUp() |
||
| 56 | } |