blib/lib/Siesta/Member.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Siesta/Deferred.pm ↑ Summary blib/lib/Siesta/Pref.pm »
1 # $Id: Member.pm 1357 2003-08-14 15:41:05Z richardc $
2 package Siesta::Member;
3 27 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 27 ▶use Siesta::DBI;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 27 ▶use base 'Siesta::DBI';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 27 __PACKAGE__->set_up_table( 'member' );
7 27 __PACKAGE__->load_alias('email');
8 27 __PACKAGE__->has_many( lists => [ 'Siesta::Subscription' => 'list' ] );
9 27 __PACKAGE__->has_many( prefs => 'Siesta::Pref' );
10 27 __PACKAGE__->has_many( deferred => 'Siesta::Deferred', 'who' );
11  
12  
13 # fuck the users, fuck them up their stupid asses
14  
15 =head1 NAME
16  
17 Siesta::Member - manipulate a member.
18  
19 =head1 METHODS
20  
21 =head2 ->id
22  
23 get and set their id.
24  
25 =head2 ->email
26  
27 get and set their email address.
28  
29 =head2 ->config
30  
31 get and set config values for this Member.
32  
33 =head2 ->lists
34  
35 all the lists this member is subbed to.
36  
37 =cut
38  
39 27 1;
« blib/lib/Siesta/Deferred.pm ↑ Summary blib/lib/Siesta/Pref.pm »