silverstripe-carousel 

silverstripe-carousel Commit Details

Date:2016-02-19 15:06:24 (4 years 4 months ago)
Author:Nicola Fontana
Branch:dev, master
Commit:489f1a18094fe49d396b7af7612ad2ef545196ca
Parents: 38b30d5f81a1d186686be82a37d735412f292a58
Message:Cosmetic changes

Changes:
Mcode/CarouselPage.php (4 diffs)

File differences

code/CarouselPage.php
22
33
44
5
65
76
87
......
4645
4746
4847
49
5048
5149
5250
......
7674
7775
7876
79
8077
8178
8279
......
198195
199196
200197
201
202198
203199
204200
class CarouselImageExtension extends DataExtension
{
/**
* If $width and $height are greater than 0, it is equivalent to
* Image_Backend::croppedResize().
*/
class CarouselCaptionField extends HtmlEditorField
{
public function __construct($name, $title = null, $value = '')
{
parent::__construct($name, $title, $value);
class CarouselPage extends Page
{
private static $icon = 'carousel/img/carousel.png';
private static $db = array(
class CarouselPage_Controller extends Page_Controller
{
/**
* From the controller the images are returned in proper order.
* This means `<% loop $Images %>` returns the expected result.

Archive Download the corresponding diff file