-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1d4ad3
commit 017e250
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* @since 4.0 | ||
* @since 5.0 | ||
* @subpackage Class | ||
* | ||
* @author Denys D. Nosov ([email protected]) | ||
|
@@ -18,7 +18,7 @@ | |
/** | ||
* JUImage library for render thumbs | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
class Image | ||
{ | ||
|
@@ -39,7 +39,7 @@ class Image | |
* | ||
* @param array $config | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
public function __construct(array $config = []) | ||
{ | ||
|
@@ -54,7 +54,7 @@ public function __construct(array $config = []) | |
* @return object|string | ||
* @return object|string | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
public function render($url, array $attr = []) | ||
{ | ||
|
@@ -76,7 +76,7 @@ public function render($url, array $attr = []) | |
* | ||
* @return object|bool | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
public function size($img_path) | ||
{ | ||
|
@@ -98,7 +98,7 @@ public function size($img_path) | |
* @param array $attr | ||
* | ||
* @return string | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
private function thumb($url, array $attr = []) | ||
{ | ||
|
@@ -236,7 +236,7 @@ private function thumb($url, array $attr = []) | |
* | ||
* @return string | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
private function createThumb($url, $img_cache, $target, array $attr = []) | ||
{ | ||
|
@@ -345,7 +345,7 @@ private function createThumb($url, $img_cache, $target, array $attr = []) | |
* | ||
* @return bool|string | ||
* @return bool|string | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
private function createVideoThumb($url, $video_detect = false) | ||
{ | ||
|
@@ -400,7 +400,7 @@ private function createVideoThumb($url, $video_detect = false) | |
* | ||
* @return string | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
private function youtube($id) | ||
{ | ||
|
@@ -424,7 +424,7 @@ private function youtube($id) | |
* | ||
* @return false | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
private function vimeo($id) | ||
{ | ||
|
@@ -442,7 +442,7 @@ private function vimeo($id) | |
* @param $dir | ||
* | ||
* @return bool | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
private function makeDir($dir) | ||
{ | ||
|
@@ -464,7 +464,7 @@ private function makeDir($dir) | |
* | ||
* @return bool|string | ||
* | ||
* @since 4.0 | ||
* @since 5.0 | ||
*/ | ||
private function http($url) | ||
{ | ||
|