silverstripe-gallery 

silverstripe-gallery Commit Details

Date:2014-09-27 18:29:25 (6 years 1 month ago)
Author:Nicola Fontana
Branch:dev, master
Commit:c1b1844f73f5e1cf28b82028918bb62ef9d15d9a
Parents: e2e787564ebab0745589ef4f1f81899a65097524
Message:www: add defaults at database level

Changes:
Mcode/GalleryPage.php (1 diff)

File differences

code/GalleryPage.php
1111
1212
1313
14
15
16
14
15
16
1717
1818
1919
private static $icon = 'gallery/img/gallery.png';
private static $db = array(
'Captions' => 'Boolean',
'SlideHeight' => 'Int',
'StripHeight' => 'Int',
'Captions' => 'Boolean default(true)',
'SlideHeight' => 'Int default(400)',
'StripHeight' => 'Int default(64)',
);
private static $many_many = array(
'Images' => 'Image'

Archive Download the corresponding diff file