/[Perly]/lib/Perly/Model/User.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /lib/Perly/Model/User.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Sun Jun 3 11:28:02 2007 UTC (16 years, 11 months ago) by dpavlin
File size: 544 byte(s)
added User and Code models
1 use strict;
2 use warnings;
3
4 package Perly::Model::User;
5 use Jifty::DBI::Schema;
6
7 use Perly::Record schema {
8
9 column name =>
10 label is 'Username',
11 hints is 'Other people see this when you do something.',
12 is distinct, is mandatory;
13
14 column email =>
15 label is 'Email',
16 hints is 'We will not sell it to anybody. Honest.',
17 default is '',
18 is distinct, is immutable;
19
20 };
21
22 use Jifty::Plugin::User::Mixin::Model::User;
23 use Jifty::Plugin::Authentication::Password::Mixin::Model::User;
24
25 # Your model-specific methods go here.
26 1;
27

  ViewVC Help
Powered by ViewVC 1.1.26