view Lib/IMPL/Web/Security/Session.pm @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents d1676be8afcc
children 6d8092d8ce1b
line wrap: on
line source

package IMPL::Web::Security::Session;
use strict;
use parent qw(IMPL::Security::Context);

use IMPL::Class::Property;

__PACKAGE__->PassThroughArgs;

BEGIN {
    public property id => prop_all | owner_set;
}

1;

__END__

=pod

=head1 NAME

C<IMPL::Web::Security::Session> - Сессия пользователя.

=head1 SINOPSYS

=begin code

# define a custom session for the application

package App::Session;
use parent qw(IMPL::Web::Security::Session);

use IMPL::Class::Property;

BEGIN {
    public property transactionId => prop_all;
}

=end code

=head1 DESCRIPTION

C<use parent qw(IMPL::Security::Context)>

Представляет собой контекст безопасности, имеет идентификатор. Является базовым классом
для расширения дополнительными атрибутами.

=head1 MEMBERS

=over

=item C<[get] id>

Идентификатор сессии

=back

=cut