| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function configMapping() |
||
| 39 | { |
||
| 40 | return array( |
||
| 41 | \RainLoop\Plugins\Property::NewInstance('host')->SetLabel('POPPASSD Host') |
||
| 42 | ->SetDefaultValue('127.0.0.1'), |
||
| 43 | \RainLoop\Plugins\Property::NewInstance('port')->SetLabel('POPPASSD Port') |
||
| 44 | ->SetType(\RainLoop\Enumerations\PluginPropertyType::INT) |
||
| 45 | ->SetDefaultValue(106), |
||
| 46 | \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails') |
||
| 47 | ->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT) |
||
| 48 | ->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: [email protected] [email protected] *@domain2.net') |
||
| 49 | ->SetDefaultValue('*') |
||
| 50 | ); |
||
| 51 | } |
||
| 52 | } |
||
| 53 |