plugins/add-x-originating-ip-header/index.php 1 location
|
@@ 30-39 (lines=10) @@
|
| 27 |
|
/**
|
| 28 |
|
* @return array
|
| 29 |
|
*/
|
| 30 |
|
public function configMapping()
|
| 31 |
|
{
|
| 32 |
|
return array(
|
| 33 |
|
\RainLoop\Plugins\Property::NewInstance('check_proxy')
|
| 34 |
|
->SetLabel('Сheck User Proxy')
|
| 35 |
|
->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)
|
| 36 |
|
->SetDescription('Enable, if you need to check proxy header')
|
| 37 |
|
->SetDefaultValue(false)
|
| 38 |
|
);
|
| 39 |
|
}
|
| 40 |
|
} |
plugins/demo-account/index.php 1 location
|
@@ 20-28 (lines=9) @@
|
| 17 |
|
/** |
| 18 |
|
* @return array |
| 19 |
|
*/ |
| 20 |
|
protected function configMapping() |
| 21 |
|
{ |
| 22 |
|
return array( |
| 23 |
|
\RainLoop\Plugins\Property::NewInstance('email')->SetLabel('Demo Email') |
| 24 |
|
->SetDefaultValue('[email protected]'), |
| 25 |
|
\RainLoop\Plugins\Property::NewInstance('password')->SetLabel('Demo Password') |
| 26 |
|
->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD) |
| 27 |
|
); |
| 28 |
|
} |
| 29 |
|
|
| 30 |
|
/** |
| 31 |
|
* @return void |