GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Sympa::List::Config(3Sympa) sympa 6.2.62 Sympa::List::Config(3Sympa)

Sympa::List::Config - List configuration

  use Sympa::List::Config;
  my $config = Sympa::List::Config->new($list, {...});
 
  my $errors = []; 
  my $validity = $config->submit({...}, $user, $errors);
  $config->commit($errors);
  
  my ($value) = $config->get('owner.0.gecos');
  my @keys  = $config->keys('owner');

new ( $list, [ config => $initial_config ], [ copy => 1 ], [ no_family => 1 ] )
Constructor. Creates new instance of Sympa::List::Config object.

Parameters:

See also "new" in Sympa::Config.

$list
Context. An instance of Sympa::List class.
no_family => 1
Won't apply family constraint. By default, the constraint will be applied if the list is belonging to family. See also "Family constraint".
get_schema ( [ $user ] )
Instance method. Get configuration schema as hashref. See Sympa::ListDef about structure of schema.

Parameter:

$user
Email address of a user. If specified, adds 'privilege' attribute taken from edit_list.conf(5) for the user.

See "Attribute" in Sympa::Config.

The family (see Sympa::Family) adds additional constraint to schema.
  • restricts options for particular scalar parameters to the set of values or single value,
  • makes occurrence of them be required ('1' or '1-n'), and
  • if the occurrence became '1', makes their privilege be unwritable ('read' if it was not 'hidden').

TBD.

TBD.

Sympa::Config, Sympa::List, Sympa::ListDef.

Sympa::List::Config appeared on Sympa 6.2.17.
2021-04-27 6.2.62

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.