/[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 44 by dpavlin, Sun Apr 6 14:42:08 2008 UTC revision 61 by dpavlin, Mon Apr 7 14:33:31 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 34  use Arh::Record schema { Line 35  use Arh::Record schema {
35                  is indexed,                  is indexed,
36                  since '0.0.4';                  since '0.0.4';
37    
38            column unit =>
39                    label is _('Unit'),
40                    refers_to Arh::Model::Unit,
41                    is mandatory,
42                    is indexed;
43    
44            column thumbnail =>
45                    label is _('Thumbnail name'),
46                    is indexed;
47    
48            column width =>
49                    label is _('Thumbnail width'),
50                    type is 'int';
51    
52            column height =>
53                    label is _('Thumbnail height'),
54                    type is 'int';
55    
56  };  };
57    
58  # Your model-specific methods go here.  # Your model-specific methods go here.
59    
 sub since { '0.0.3' }  
   
60  sub all_filenames {  sub all_filenames {
61    
62          my @files;          my @files;

Legend:
Removed from v.44  
changed lines
  Added in v.61

  ViewVC Help
Powered by ViewVC 1.1.26