Mercurial > pub > Impl
comparison Lib/IMPL/Web/ViewResult.pm @ 244:a02b110da931
refactoring
fixed binding to CGI query parameters with multiple values
author | sergey |
---|---|
date | Mon, 22 Oct 2012 04:09:27 +0400 |
parents | f48a1a9f4fa2 |
children | 32aceba4ee6d |
comparison
equal
deleted
inserted
replaced
243:cd2b1f121029 | 244:a02b110da931 |
---|---|
7 base => [ | 7 base => [ |
8 'IMPL::Object' => undef, | 8 'IMPL::Object' => undef, |
9 'IMPL::Object::Autofill' => '@_' | 9 'IMPL::Object::Autofill' => '@_' |
10 ], | 10 ], |
11 props => [ | 11 props => [ |
12 model => PROP_RW | 12 model => PROP_RW, |
13 location => PROP_RW | |
13 ] | 14 ] |
14 }; | 15 }; |
15 | 16 |
16 1; | 17 1; |
18 | |
19 __END__ | |
20 | |
21 =pod | |
22 | |
23 =head1 NAME | |
24 | |
25 C<IMPL::Web::ViewResult> - описание представления результата. | |
26 | |
27 =head1 SYNOPSIS | |
28 | |
29 =begin code | |
30 | |
31 sub HttpGet { | |
32 my ($this, $action) = @_; | |
33 | |
34 return IMPL::Web::ViewResult->new( | |
35 model => $model, | |
36 location => $this->location | |
37 ); | |
38 } | |
39 | |
40 =end code | |
41 | |
42 =head1 DESCRIPTION | |
43 | |
44 Сожержит в себе информацию для представления модели. | |
45 | |
46 =head1 MEMBERS | |
47 | |
48 =head2 C<[get,set]model> | |
49 | |
50 Модель ресурса, как правило это результат выполнения C<Http> метода. | |
51 | |
52 =head2 C<[get,set]location> | |
53 | |
54 Текущий абсолютный адрес ресурса. | |
55 | |
56 =cut |