[prev] [thread] [next] [lurker] [Date index for 2002/08/26]
Update of /cvsroot/siesta/siesta/lib/Siesta In directory usw-pr-cvs1:/tmp/cvs-serv26400 Modified Files: Storage.pm Log Message: drop in rest of docs and virtual methods Index: Storage.pm =================================================================== RCS file: /cvsroot/siesta/siesta/lib/Siesta/Storage.pm,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Storage.pm 26 Aug 2002 21:47:04 -0000 1.4 +++ Storage.pm 26 Aug 2002 22:57:30 -0000 1.5 @@ -7,35 +7,42 @@ bless {}, $class; } -=item ->load_list( $id ) - -return a hash with a list in it, or nothing -=cut +sub load_user { die "virtual" } +sub load_list { die "virtual" } +sub member_of_list { die "virtual" } +sub add_member_to_list { die "virtual" } +sub remove_member_from_list { die "virtual" } +sub list_members { die "virtual" } +sub list_plugins { die "virtual" } -sub load_list { die "virtual " } +1; +__END__ -=item ->member_of_list( $list, $user ) +=item ->load_user( $id ) -=cut +return a hash with a user in it, or nothing -sub member_of_list { die "virtual" } +=item ->load_list( $id ) -=item ->add_member_to_list( $list, $user ) +return a hash with a list in it, or nothing -inserts a user, doesn't check if user already exists +=item ->member_of_list( $list, $user ) -=cut +=item ->add_member_to_list( $list, $user ) -sub add_member_to_list { die "virtual" } +inserts a user, returns true on success =item ->remove_member_from_list( $list, $user ) -removes a user, doesn't check if user already exists +removes a user, returns true on success -=cut +=item ->list_members( $list ) -sub remove_member_from_list { die "virtual" } +returns a list of member ids +=item ->list_plugins( $list ) -1; +returns a list of plugins, in the order they should fire + +=cut
Generated at 13:57 on 01 Jul 2004 by mariachi 0.52