@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package WideImage |
|
| 23 | - **/ |
|
| 21 | + * @package WideImage |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | require_once(WideImage::path() . 'Exception.php'); |
| 26 | 25 | require_once(WideImage::path() . 'Image.php'); |
@@ -22,21 +22,21 @@ discard block |
||
| 22 | 22 | * @package WideImage |
| 23 | 23 | **/ |
| 24 | 24 | |
| 25 | - require_once(WideImage::path() . 'Exception.php'); |
|
| 26 | - require_once(WideImage::path() . 'Image.php'); |
|
| 27 | - require_once(WideImage::path() . 'TrueColorImage.php'); |
|
| 28 | - require_once(WideImage::path() . 'PaletteImage.php'); |
|
| 25 | + require_once(WideImage::path().'Exception.php'); |
|
| 26 | + require_once(WideImage::path().'Image.php'); |
|
| 27 | + require_once(WideImage::path().'TrueColorImage.php'); |
|
| 28 | + require_once(WideImage::path().'PaletteImage.php'); |
|
| 29 | 29 | |
| 30 | - require_once(WideImage::path() . 'Coordinate.php'); |
|
| 31 | - require_once(WideImage::path() . 'Canvas.php'); |
|
| 32 | - require_once(WideImage::path() . 'PaletteImage.php'); |
|
| 33 | - require_once(WideImage::path() . 'TrueColorImage.php'); |
|
| 34 | - require_once(WideImage::path() . 'MapperFactory.php'); |
|
| 35 | - require_once(WideImage::path() . 'OperationFactory.php'); |
|
| 30 | + require_once(WideImage::path().'Coordinate.php'); |
|
| 31 | + require_once(WideImage::path().'Canvas.php'); |
|
| 32 | + require_once(WideImage::path().'PaletteImage.php'); |
|
| 33 | + require_once(WideImage::path().'TrueColorImage.php'); |
|
| 34 | + require_once(WideImage::path().'MapperFactory.php'); |
|
| 35 | + require_once(WideImage::path().'OperationFactory.php'); |
|
| 36 | 36 | |
| 37 | - require_once(WideImage::path() . 'Font/TTF.php'); |
|
| 38 | - require_once(WideImage::path() . 'Font/GDF.php'); |
|
| 39 | - require_once(WideImage::path() . 'Font/PS.php'); |
|
| 37 | + require_once(WideImage::path().'Font/TTF.php'); |
|
| 38 | + require_once(WideImage::path().'Font/GDF.php'); |
|
| 39 | + require_once(WideImage::path().'Font/PS.php'); |
|
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * @package Exceptions |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | static function path() |
| 76 | 76 | { |
| 77 | 77 | if (self::$path === null) |
| 78 | - self::$path = dirname(__FILE__) . DIRECTORY_SEPARATOR; |
|
| 78 | + self::$path = dirname(__FILE__).DIRECTORY_SEPARATOR; |
|
| 79 | 79 | return self::$path; |
| 80 | 80 | } |
| 81 | 81 | |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | if (!$predictedSourceType) |
| 127 | 127 | $predictedSourceType = 'File'; |
| 128 | 128 | |
| 129 | - return call_user_func(array('WideImage', 'loadFrom' . $predictedSourceType), $source, $format); |
|
| 129 | + return call_user_func(array('WideImage', 'loadFrom'.$predictedSourceType), $source, $format); |
|
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | /** |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package WideImage |
|
| 23 | - **/ |
|
| 21 | + * @package WideImage |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * @package Exceptions |
@@ -90,10 +90,10 @@ |
||
| 90 | 90 | */ |
| 91 | 91 | function __call($method, $params) |
| 92 | 92 | { |
| 93 | - if (function_exists('image' . $method)) |
|
| 93 | + if (function_exists('image'.$method)) |
|
| 94 | 94 | { |
| 95 | 95 | array_unshift($params, $this->handle); |
| 96 | - call_user_func_array('image' . $method, $params); |
|
| 96 | + call_user_func_array('image'.$method, $params); |
|
| 97 | 97 | } |
| 98 | 98 | else |
| 99 | 99 | throw new WideImage_InvalidCanvasMethodException("Function doesn't exist: image{$method}."); |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package Exceptions |
|
| 23 | - **/ |
|
| 21 | + * @package Exceptions |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Base Exception class |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package Internal/Mappers |
|
| 23 | - **/ |
|
| 21 | + * @package Internal/Mappers |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Mapper class for GIF files |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package Internal/Mappers |
|
| 23 | - **/ |
|
| 21 | + * @package Internal/Mappers |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Mapper class for JPEG files |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package Internal/Mappers |
|
| 23 | - **/ |
|
| 21 | + * @package Internal/Mappers |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Mapper class for GD2 files |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package Internal/Mappers |
|
| 23 | - **/ |
|
| 21 | + * @package Internal/Mappers |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Mapper class for PNG files |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package Internal/Mappers |
|
| 23 | - **/ |
|
| 21 | + * @package Internal/Mappers |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | include_once(WideImage::path() . '/vendor/JPEXS/bmp.php'); |
| 26 | 25 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * @package Internal/Mappers |
| 23 | 23 | **/ |
| 24 | 24 | |
| 25 | - include_once(WideImage::path() . '/vendor/JPEXS/bmp.php'); |
|
| 25 | + include_once(WideImage::path().'/vendor/JPEXS/bmp.php'); |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Mapper support for BMP |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @author Gasper Kozak |
|
| 4 | - * @copyright 2007, 2008, 2009 |
|
| 3 | + * @author Gasper Kozak |
|
| 4 | + * @copyright 2007, 2008, 2009 |
|
| 5 | 5 | |
| 6 | 6 | This file is part of WideImage. |
| 7 | 7 | |
@@ -18,9 +18,8 @@ discard block |
||
| 18 | 18 | You should have received a copy of the GNU Lesser General Public License |
| 19 | 19 | along with WideImage; if not, write to the Free Software |
| 20 | 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | - |
|
| 22 | - * @package Internal/Mappers |
|
| 23 | - **/ |
|
| 21 | + * @package Internal/Mappers |
|
| 22 | + **/ |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * Mapper class for GD files |