1
1
<?php
2
2
/**
3
3
* @package SW JProjects Component
4
- * @version __DEPLOY_VERSION__
4
+ * @version 1.3.0
5
5
* @author Septdir Workshop - www.septdir.com
6
6
* @copyright Copyright (c) 2018 - 2019 Septdir Workshop. All rights reserved.
7
7
* @license GNU/GPL license: https://www.gnu.org/copyleft/gpl.html
@@ -25,7 +25,7 @@ class SWJProjectsHelperImages
25
25
*
26
26
* @var array
27
27
*
28
- * @since __DEPLOY_VERSION__
28
+ * @since 1.3.0
29
29
*/
30
30
protected static $ _image = array ();
31
31
@@ -34,7 +34,7 @@ class SWJProjectsHelperImages
34
34
*
35
35
* @var array
36
36
*
37
- * @since __DEPLOY_VERSION__
37
+ * @since 1.3.0
38
38
*/
39
39
protected static $ _images = array ();
40
40
@@ -43,7 +43,7 @@ class SWJProjectsHelperImages
43
43
*
44
44
* @var array
45
45
*
46
- * @since __DEPLOY_VERSION__
46
+ * @since 1.3.0
47
47
*/
48
48
public static $ mime_types = array ('image/png ' , 'image/jpeg ' , 'image/gif ' , 'image/bmp ' , 'image/svg ' , 'image/svg+xml ' );
49
49
@@ -59,7 +59,7 @@ class SWJProjectsHelperImages
59
59
*
60
60
* @return false|string Simple image path string on success, false on failure.
61
61
*
62
- * @since __DEPLOY_VERSION__
62
+ * @since 1.3.0
63
63
*/
64
64
public static function getImage ($ section = null , $ pk = null , $ name = null , $ language = null , $ absolute = false , $ reload = false )
65
65
{
@@ -105,7 +105,7 @@ public static function getImage($section = null, $pk = null, $name = null, $lang
105
105
*
106
106
* @return bool True on success, false on failure.
107
107
*
108
- * @since __DEPLOY_VERSION__
108
+ * @since 1.3.0
109
109
*/
110
110
public static function deleteImage ($ section = null , $ pk = null , $ name = null , $ language = null )
111
111
{
@@ -125,7 +125,7 @@ public static function deleteImage($section = null, $pk = null, $name = null, $l
125
125
*
126
126
* @return bool|string Simple image path string on success, false on failure.
127
127
*
128
- * @since __DEPLOY_VERSION__
128
+ * @since 1.3.0
129
129
*/
130
130
public static function uploadImage ($ section = null , $ pk = null , $ name = null , $ language = null , $ image = array ())
131
131
{
@@ -174,7 +174,7 @@ public static function uploadImage($section = null, $pk = null, $name = null, $l
174
174
*
175
175
* @return false|object[] Multiple images array on success, false on failure.
176
176
*
177
- * @since __DEPLOY_VERSION__
177
+ * @since 1.3.0
178
178
*/
179
179
public static function getImages ($ section = null , $ pk = null , $ folder = null , $ values = null , $ language = null )
180
180
{
@@ -274,7 +274,7 @@ public static function getImages($section = null, $pk = null, $folder = null, $v
274
274
*
275
275
* @return false|array New images names array on success, false on failure.
276
276
*
277
- * @since __DEPLOY_VERSION__
277
+ * @since 1.3.0
278
278
*/
279
279
public static function uploadImages ($ section = null , $ pk = null , $ folder = null , $ values = null , $ language = null , $ upload = array ())
280
280
{
@@ -341,7 +341,7 @@ public static function uploadImages($section = null, $pk = null, $folder = null,
341
341
*
342
342
* @return false|string New image src on success, false on failure.
343
343
*
344
- * @since __DEPLOY_VERSION__
344
+ * @since 1.3.0
345
345
*/
346
346
public static function changeImages ($ section = null , $ pk = null , $ folder = null , $ language = null , $ name = null , $ image = array ())
347
347
{
@@ -406,7 +406,7 @@ public static function changeImages($section = null, $pk = null, $folder = null,
406
406
*
407
407
* @return bool True on success, false on failure.
408
408
*
409
- * @since __DEPLOY_VERSION__
409
+ * @since 1.3.0
410
410
*/
411
411
public static function deleteImages ($ section = null , $ pk = null , $ folder = null , $ language = null , $ name = null )
412
412
{
@@ -443,7 +443,7 @@ public static function deleteImages($section = null, $pk = null, $folder = null,
443
443
*
444
444
* @return true|false True on success, false on failure.
445
445
*
446
- * @since __DEPLOY_VERSION__
446
+ * @since 1.3.0
447
447
*/
448
448
public static function checkImage ($ image = '' )
449
449
{
@@ -469,7 +469,7 @@ public static function checkImage($image = '')
469
469
*
470
470
* @return string Image name.
471
471
*
472
- * @since __DEPLOY_VERSION__
472
+ * @since 1.3.0
473
473
*/
474
474
public static function generateName ($ length = 11 )
475
475
{
0 commit comments