Browse code

Refactor and rewrite as contao bundle

Benjamin Roth authored on04/11/2022 22:32:32
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,42 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * Slick slider for Contao
5
- *
6
- * Copyright (c) 2016 Benjamin Roth
7
- *
8
- * @license LGPL-3.0+
9
- */
10
-
11
-namespace eSM_swiper;
12
-
13
-
14
-/**
15
- * Front end content element swiper slide end.
16
- */
17
-class ContentSwiperSliderSlideStop extends \ContentElement
18
-{
19
-
20
-	/**
21
-	 * Template
22
-	 * @var string
23
-	 */
24
-	protected $strTemplate = 'slide_stop_default';
25
-
26
-
27
-	/**
28
-	 * Generate the content element
29
-	 */
30
-	protected function compile()
31
-	{
32
-		if (TL_MODE == 'BE')
33
-		{
34
-			$this->strTemplate = 'be_wildcard';
35
-
36
-			/** @var \BackendTemplate|object $objTemplate */
37
-			$objTemplate = new \BackendTemplate($this->strTemplate);
38
-
39
-			$this->Template = $objTemplate;
40
-		}
41
-	}
42
-}
Browse code

Initial commit

Benjamin Roth authored on19/05/2020 21:59:44
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,42 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+namespace eSM_swiper;
12
+
13
+
14
+/**
15
+ * Front end content element swiper slide end.
16
+ */
17
+class ContentSwiperSliderSlideStop extends \ContentElement
18
+{
19
+
20
+	/**
21
+	 * Template
22
+	 * @var string
23
+	 */
24
+	protected $strTemplate = 'slide_stop_default';
25
+
26
+
27
+	/**
28
+	 * Generate the content element
29
+	 */
30
+	protected function compile()
31
+	{
32
+		if (TL_MODE == 'BE')
33
+		{
34
+			$this->strTemplate = 'be_wildcard';
35
+
36
+			/** @var \BackendTemplate|object $objTemplate */
37
+			$objTemplate = new \BackendTemplate($this->strTemplate);
38
+
39
+			$this->Template = $objTemplate;
40
+		}
41
+	}
42
+}