Commit 63898b2c authored by Côme Chilliet's avatar Côme Chilliet

🚑 fix(renater-partage) Add regexp and example for COS

issue #5822
parent eedc9916
...@@ -76,8 +76,11 @@ class serviceRenaterPartage extends simpleMailMethodService ...@@ -76,8 +76,11 @@ class serviceRenaterPartage extends simpleMailMethodService
'renaterPartageDomainKey', TRUE 'renaterPartageDomainKey', TRUE
), ),
new StringAttribute ( new StringAttribute (
_('Class of service'), _('Possible classes of service for this domain, separated by commas'), _('Classes of service'), _('Possible classes of service for this domain and their ids, separated by commas. Format is cos1Name|cos1Id,cos2Name|cos2Id.'),
'renaterPartageDomainCOS', TRUE 'renaterPartageDomainCOS', TRUE,
'', '',
'/^[^,|]+\|[^,|]+(,[^,|]+\|[^,|]+)*$/',
'cos1|cos1id,cos2|cos2id'
) )
), ),
':', ':',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment