Exemplo n.º 1
0
 /**
  * @return array
  */
 public function configMapping()
 {
     $oAccount = \RainLoop\Plugins\Property::NewInstance('account')->SetLabel('Account')->SetAllowedInJs(true)->SetDefaultValue('');
     if (\method_exists($oAccount, 'SetPlaceholder')) {
         $oAccount->SetPlaceholder('UA-XXXXXXXX-X');
     }
     return array($oAccount, \RainLoop\Plugins\Property::NewInstance('domain_name')->SetLabel('Domain Name')->SetAllowedInJs(true)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('universal_analytics')->SetLabel('Use Universal Analytics')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetAllowedInJs(true)->SetDefaultValue(true), \RainLoop\Plugins\Property::NewInstance('track_pageview')->SetLabel('Track Pageview')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetAllowedInJs(true)->SetDefaultValue(true), \RainLoop\Plugins\Property::NewInstance('send_events')->SetLabel('Send Events')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetAllowedInJs(true)->SetDefaultValue(false));
 }
Exemplo n.º 2
0
 /**
  * @return array
  */
 public function configMapping()
 {
     $oUrl = \RainLoop\Plugins\Property::NewInstance('piwik_url')->SetLabel('Piwik URL')->SetAllowedInJs(true);
     $oSiteID = \RainLoop\Plugins\Property::NewInstance('site_id')->SetLabel('Site ID')->SetAllowedInJs(true);
     if (\method_exists($oUrl, 'SetPlaceholder')) {
         $oUrl->SetPlaceholder('http://');
         $oSiteID->SetPlaceholder('');
     }
     return array($oUrl, $oSiteID);
 }
Exemplo n.º 3
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('check_proxy')->SetLabel('Сheck User Proxy')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetDescription('Enable, if you need to check proxy header')->SetDefaultValue(false));
 }
Exemplo n.º 4
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('public_key')->SetLabel('Site key')->SetAllowedInJs(true)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('private_key')->SetLabel('Secret key')->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('theme')->SetLabel('Theme')->SetAllowedInJs(true)->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array('light', 'dark')), \RainLoop\Plugins\Property::NewInstance('error_limit')->SetLabel('Limit')->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array(0, 1, 2, 3, 4, 5))->SetDescription(''));
 }
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('dbtype')->SetLabel('Database Type')->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array('mysql', 'pgsql')), \RainLoop\Plugins\Property::NewInstance('dbhost')->SetLabel('Database Host')->SetDefaultValue('127.0.0.1'), \RainLoop\Plugins\Property::NewInstance('dbport')->SetLabel('Database Port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDefaultValue(5432), \RainLoop\Plugins\Property::NewInstance('dbuser')->SetLabel('Database User'), \RainLoop\Plugins\Property::NewInstance('dbpass')->SetLabel('Database Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD), \RainLoop\Plugins\Property::NewInstance('dbname')->SetLabel('Database Name'), \RainLoop\Plugins\Property::NewInstance('dbupdatequery')->SetLabel('Update Query')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDefaultValue("UPDATE autoreply SET active=:active, subject=:subject, body=:body, date_start=:date_start, date_end=:date_end WHERE local=:local AND domain=:domain")->SetDescription('Database query to use for updating autoreply settings. Parameter bindings: :email, :local, :domain, :active, :subject, :body, :date_start, :date_end'), \RainLoop\Plugins\Property::NewInstance('dbinsertquery')->SetLabel('Insert Query')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDefaultValue("INSERT INTO autoreply(local, domain) VALUES (:local,:domain)")->SetDescription('Database query to use for creating a non-existent record. Update will run after the insert. Parameter bindings: :email, :local, :domain'), \RainLoop\Plugins\Property::NewInstance('dbselectquery')->SetLabel('Select Query')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDefaultValue("SELECT active, subject, body, date_start, date_end FROM autoreply WHERE local=:local AND domain=:domain")->SetDescription('Database query to use. Parameter bindings: :email, :local, :domain. Expected columns: active, body, subject, body, optionally: date_start, date_end'), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 6
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('host')->SetLabel('MySQL Host')->SetDefaultValue('127.0.0.1'), \RainLoop\Plugins\Property::NewInstance('port')->SetLabel('MySQL Port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDefaultValue(3306), \RainLoop\Plugins\Property::NewInstance('database')->SetLabel('MySQL Database')->SetDefaultValue('postfixadmin'), \RainLoop\Plugins\Property::NewInstance('table')->SetLabel('MySQL table')->SetDefaultValue('mailbox'), \RainLoop\Plugins\Property::NewInstance('usercol')->SetLabel('MySQL username column')->SetDefaultValue('username'), \RainLoop\Plugins\Property::NewInstance('passcol')->SetLabel('MySQL password column')->SetDefaultValue('password'), \RainLoop\Plugins\Property::NewInstance('user')->SetLabel('MySQL User')->SetDefaultValue('postfixadmin'), \RainLoop\Plugins\Property::NewInstance('password')->SetLabel('MySQL Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('encrypt')->SetLabel('Encrypt')->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array('md5crypt', 'md5', 'system', 'cleartext', 'mysql_encrypt'))->SetDescription('In what way do you want the passwords to be crypted ?'), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('occasion_name')->SetLabel('Name of Occasion')->SetPlaceholder('')->SetAllowedInJs(true)->SetDefaultValue('Halloween'), \RainLoop\Plugins\Property::NewInstance('occasion_date')->SetLabel('Date')->SetPlaceholder('Month/Day')->SetAllowedInJs(true)->SetDefaultValue('10/31'), \RainLoop\Plugins\Property::NewInstance('occasion_limit')->SetLabel('Days to Count Down')->SetPlaceholder('')->SetAllowedInJs(true)->SetDefaultValue('100'), \RainLoop\Plugins\Property::NewInstance('occasion_granularity')->SetLabel('Granularity')->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array("Days", "Hours", "Minutes", "Seconds"))->SetAllowedInJs(true)->SetDescription(''), \RainLoop\Plugins\Property::NewInstance('occasion_background')->SetLabel('Background Image')->SetPlaceholder('http://')->SetAllowedInJs(true)->SetDefaultValue('http://farm1.static.flickr.com/27/58392393_80aa004a37_z.jpg?zz=1'));
 }
Exemplo n.º 8
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('auth_error')->SetLabel('Auth Error')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetDescription('Throw an authentication error instead of an access error.')->SetDefaultValue(true), \RainLoop\Plugins\Property::NewInstance('white_list')->SetLabel('White List')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Emails white list, space as delimiter, wildcard supported.')->SetDefaultValue('*@domain1.com user@domain2.com'), \RainLoop\Plugins\Property::NewInstance('exceptions')->SetLabel('Exceptions')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Exceptions for white list, space as delimiter, wildcard supported.')->SetDefaultValue('demo@domain1.com *@domain2.com admin@*'));
 }
Exemplo n.º 9
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('vesta_host')->SetLabel('Vesta Host')->SetDefaultValue('')->SetDescription('Allowed patterns: {user:host-imap}, {user:host-smtp}, {user:domain}'), \RainLoop\Plugins\Property::NewInstance('Vesta_port')->SetLabel('Vesta Port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDefaultValue(8083), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 10
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('change_password_url')->SetLabel('Url')->SetDefaultValue(WebhookChangePasswordPlugin::DEFAULT_URL)->SetDescription('URL for password change with POST request, required parameters: "username", "old_password", and "new_password"'), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 11
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('domains')->SetLabel('Allowed Domains')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed domains, space as delimiter')->SetDefaultValue('gmail.com yahoo.com'), \RainLoop\Plugins\Property::NewInstance('mHost')->SetLabel('MySQL Host')->SetDefaultValue('localhost'), \RainLoop\Plugins\Property::NewInstance('mUser')->SetLabel('MySQL User')->SetDefaultValue('vpopmail'), \RainLoop\Plugins\Property::NewInstance('mPass')->SetLabel('MySQL Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD), \RainLoop\Plugins\Property::NewInstance('mDatabase')->SetLabel('MySQL Database')->SetDefaultValue('vpopmail'), \RainLoop\Plugins\Property::NewInstance('mTable')->SetLabel('MySQL Table')->SetDefaultValue('vpopmail'), \RainLoop\Plugins\Property::NewInstance('mColumn')->SetLabel('MySQL Column')->SetDefaultValue('pw_passwd'));
 }
Exemplo n.º 12
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('host')->SetLabel('POPPASSD Host')->SetDefaultValue('127.0.0.1'), \RainLoop\Plugins\Property::NewInstance('port')->SetLabel('POPPASSD Port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDefaultValue(106), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 13
0
 /**
  * @return array
  */
 public function configMapping()
 {
     // No preferences for now.
     return array(\RainLoop\Plugins\Property::NewInstance('quiz')->SetLabel('Require solving word prior to login')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetAllowedInJs(true)->SetDefaultValue(true));
 }
Exemplo n.º 14
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('pdo_dsn')->SetLabel('SaveMessage PDO dsn')->SetDefaultValue('mysql:host=127.0.0.1;dbname=Rainloop'), \RainLoop\Plugins\Property::NewInstance('user')->SetLabel('DB User')->SetDefaultValue('root'), \RainLoop\Plugins\Property::NewInstance('password')->SetLabel('DB Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD)->SetDefaultValue('12345'), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 15
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('mp4_file')->SetLabel('Url to a mp4 file')->SetPlaceholder('http://')->SetAllowedInJs(true)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('webm_file')->SetLabel('Url to a webm file')->SetPlaceholder('http://')->SetAllowedInJs(true)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('ogv_file')->SetLabel('Url to a ogv file')->SetPlaceholder('http://')->SetAllowedInJs(true)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('playback_rate')->SetLabel('Playback rate')->SetAllowedInJs(true)->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array('100%', '25%', '50%', '75%', '125%', '150%', '200%')), \RainLoop\Plugins\Property::NewInstance('muted')->SetLabel('Muted')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetAllowedInJs(true)->SetDefaultValue(true));
 }
Exemplo n.º 16
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('sent_folder')->SetLabel('Sent')->SetDefaultValue('Sent'), \RainLoop\Plugins\Property::NewInstance('drafts_folder')->SetLabel('Drafts')->SetDefaultValue('Drafts'), \RainLoop\Plugins\Property::NewInstance('spam_folder')->SetLabel('Spam')->SetDefaultValue('Spam'), \RainLoop\Plugins\Property::NewInstance('trash_folder')->SetLabel('Trash')->SetDefaultValue('Trash'), \RainLoop\Plugins\Property::NewInstance('archive_folder')->SetLabel('Archive')->SetDefaultValue('Archive'));
 }
Exemplo n.º 17
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('login')->SetLabel('HmailServer Admin Login')->SetDefaultValue('Administrator'), \RainLoop\Plugins\Property::NewInstance('password')->SetLabel('HmailServer Admin Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 18
0
 /**
  * @return array
  */
 protected function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('email')->SetLabel('Demo Email')->SetDefaultValue('*****@*****.**'), \RainLoop\Plugins\Property::NewInstance('password')->SetLabel('Demo Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD));
 }
Exemplo n.º 19
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('mapping')->SetLabel('Mapping')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('email:login mapping')->SetDefaultValue("user@domain.com:user.bob\nadmin@domain.com:user.john"));
 }
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('smtp_host')->SetLabel('SMTP Host')->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('smtp_port')->SetLabel('SMTP Port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDefaultValue(25), \RainLoop\Plugins\Property::NewInstance('smtp_secure')->SetLabel('SMTP Secure')->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array('None', 'SSL', 'TLS')), \RainLoop\Plugins\Property::NewInstance('smtp_auth')->SetLabel('Use auth')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetDefaultValue(true), \RainLoop\Plugins\Property::NewInstance('smtp_user')->SetLabel('SMTP User')->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('smtp_password')->SetLabel('SMTP Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('override_users')->SetLabel('Override users')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('space as delimiter, wildcard supported.')->SetDefaultValue('user@example.com *@example2.com'));
 }
Exemplo n.º 21
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('host')->SetLabel('Virtualmin Host')->SetDefaultValue('https://*****:*****@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('host')->SetLabel('cPanel Host')->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('port')->SetLabel('cPanel Port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDefaultValue(2087), \RainLoop\Plugins\Property::NewInstance('ssl')->SetLabel('Use SSL')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetDefaultValue(false), \RainLoop\Plugins\Property::NewInstance('user')->SetLabel('cPanel User')->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('password')->SetLabel('cPanel Password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 23
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('hostname')->SetLabel('LDAP hostname')->SetDefaultValue('127.0.0.1'), \RainLoop\Plugins\Property::NewInstance('port')->SetLabel('LDAP port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDefaultValue(389), \RainLoop\Plugins\Property::NewInstance('access_dn')->SetLabel('Access dn (login)')->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('access_password')->SetLabel('Access password')->SetType(\RainLoop\Enumerations\PluginPropertyType::PASSWORD)->SetDefaultValue(''), \RainLoop\Plugins\Property::NewInstance('users_dn_format')->SetLabel('Users DN format')->SetDescription('LDAP users dn format. Supported tokens: {email}, {login}, {domain}, {domain:dc}, {imap:login}, {imap:host}, {imap:port}')->SetDefaultValue('ou=People,dc=domain,dc=com'), \RainLoop\Plugins\Property::NewInstance('object_class')->SetLabel('objectClass value')->SetDefaultValue('inetOrgPerson'), \RainLoop\Plugins\Property::NewInstance('name_field')->SetLabel('Name field')->SetDefaultValue('givenname'), \RainLoop\Plugins\Property::NewInstance('mail_field')->SetLabel('Mail field')->SetDefaultValue('mail'), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 24
0
 /**
  * @return array
  */
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('hostname')->SetLabel('LDAP hostname')->SetDefaultValue('127.0.0.1'), \RainLoop\Plugins\Property::NewInstance('user_dn_format')->SetLabel('User DN format')->SetDescription('LDAP user dn format. Supported tokens: {email}, {login}, {domain}, {domain:dc}, {imap:login}, {imap:host}, {imap:port}')->SetDefaultValue('uid={imap:login},ou=Users,{domain:dc}'), \RainLoop\Plugins\Property::NewInstance('password_field')->SetLabel('Password field')->SetDefaultValue('userPassword'), \RainLoop\Plugins\Property::NewInstance('password_enc_type')->SetLabel('Encryption type')->SetType(\RainLoop\Enumerations\PluginPropertyType::SELECTION)->SetDefaultValue(array('SHA', 'MD5', 'Crypt', 'Clear')), \RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')->SetDescription('Allowed emails, space as delimiter, wildcard supported. Example: user1@domain1.net user2@domain1.net *@domain2.net')->SetDefaultValue('*'));
 }
Exemplo n.º 25
0
 public function configMapping()
 {
     return array(\RainLoop\Plugins\Property::NewInstance('cas_server_host')->SetLabel('cas_server_host')->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)->SetDescription('The host of cas server service.')->SetDefaultValue('0.0.0.0'), \RainLoop\Plugins\Property::NewInstance('cas_server_port')->SetLabel('cas_server_port')->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)->SetDescription('The port of server url.')->SetDefaultValue(8443), \RainLoop\Plugins\Property::NewInstance('use_short_login')->SetLabel('use_short_login')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetDescription('Use short login name.')->SetDefaultValue(true), \RainLoop\Plugins\Property::NewInstance('label_3')->SetLabel('lable_3')->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)->SetDescription('Throw an label 3 error instead of an access error.')->SetDefaultValue(true));
 }