repo.or.cz
/
blog.pm-common-perl-mods.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Version 0.3
[blog.pm-common-perl-mods.git]
/
Common-Form-Processor-Model-RDBO
/
t
/
lib
/
Form.pm
blob
3ee12d365d5dfec897d7c494c58826f02b59aeb9
1
package
Form
;
2
3
use
strict
;
4
use
warnings
;
5
6
use
base
'Common::Form::Processor::Model::RDBO'
;
7
8
sub
object_class
{
'User'
}
9
10
sub
profile
{
11
my
$self
=
shift
;
12
13
return
{
14
required
=> {
name
=>
'Text'
},
15
unique
=> [
qw
/ name /
]
16
};
17
}
18
19
1
;