/[Arh]/lib/Arh/Model/Picture.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

Diff of /lib/Arh/Model/Picture.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 50 by dpavlin, Sun Apr 6 18:17:42 2008 UTC revision 62 by dpavlin, Mon Apr 7 14:37:13 2008 UTC
# Line 17  use Arh::Record schema { Line 17  use Arh::Record schema {
17          column content =>          column content =>
18                  label is _('Picture'),                  label is _('Picture'),
19                  type is 'bytea',                  type is 'bytea',
20                  render as 'Upload',  #               render as 'Upload',
21                    render as 'Arh::Web::Form::Field::Upload',
22                  is mandatory;                  is mandatory;
23    
24          column campaign =>          column campaign =>
# Line 40  use Arh::Record schema { Line 41  use Arh::Record schema {
41                  is mandatory,                  is mandatory,
42                  is indexed;                  is indexed;
43    
44            column thumbnail =>
45                    label is _('Thumbnail name'),
46                    is indexed,
47                    since '0.0.12';
48    
49            column width =>
50                    label is _('Thumbnail width'),
51                    type is 'int',
52                    since '0.0.12';
53    
54            column height =>
55                    label is _('Thumbnail height'),
56                    type is 'int',
57                    since '0.0.12';
58    
59  };  };
60    
61  # Your model-specific methods go here.  # Your model-specific methods go here.

Legend:
Removed from v.50  
changed lines
  Added in v.62

  ViewVC Help
Powered by ViewVC 1.1.26