Adding basic anonymous subscription.

This commit is contained in:
Martin Kamerbeek 2010-05-07 14:33:33 +02:00
parent c4115cc82a
commit 8fdeca68b5
3 changed files with 124 additions and 5 deletions

View file

@ -0,0 +1,35 @@
package WebGUI::User::SpecialState;
use strict;
use warnings;
use Carp;
use base 'WebGUI::User';
sub create {
my $class = shift;
my $session = shift;
my $self = $class->SUPER::create( $session, @_ );
return $self->new( $session, $self->getId );
}
sub addSpecialState {
my $self = shift;
my $state = shift || croak 'state is required';
my $id = shift;
return;
}
sub removeSpecialState {
my $self = shift;
my $state = shift || croak 'state is required';
my $id = shift;
return;
}
1;