/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 36 - (hide annotations)
Thu Jun 7 09:34:01 2007 UTC (17 years ago) by dpavlin
File size: 721 byte(s)
added codepress setting to User
1 dpavlin 2 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 dpavlin 36 column codepress =>
21     label is 'Rich editor',
22     hints is 'Use CodePress JavaScript syntax-highlight editor',
23     default is 1,
24     render_as 'checkbox',
25     is mandatory,
26     since '0.0.4';
27    
28 dpavlin 2 };
29    
30     use Jifty::Plugin::User::Mixin::Model::User;
31     use Jifty::Plugin::Authentication::Password::Mixin::Model::User;
32    
33     # Your model-specific methods go here.
34     1;
35    

  ViewVC Help
Powered by ViewVC 1.1.26