X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fimages%2Fclass_BaseImage.php;h=5edd3d0740687819cc710c97e267f62291f33109;hb=602a3281da3bcf4ab4da2d8571b921e61e167b5b;hp=f5aebb36d62020ae57452b588839631350419dbc;hpb=3e1fbf30a631cf1cd64562b69228452c49e0033f;p=core.git diff --git a/inc/classes/main/images/class_BaseImage.php b/inc/classes/main/images/class_BaseImage.php index f5aebb36..5edd3d07 100644 --- a/inc/classes/main/images/class_BaseImage.php +++ b/inc/classes/main/images/class_BaseImage.php @@ -2,11 +2,11 @@ /** * A general image class * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -94,7 +94,7 @@ class BaseImage extends BaseFrameworkSystem implements Registerable { /** * Private setter for all colors * - * @param $colorMode Wether background or foreground color + * @param $colorMode Whether background or foreground color * @param $colorChannel Red, green or blue channel? * @param $colorValue Value to set */ @@ -240,7 +240,7 @@ class BaseImage extends BaseFrameworkSystem implements Registerable { /** * Prepares the class for string (unused at the moment) * - * @param $groupable Wether this image string is groupable or single + * @param $groupable Whether this image string is groupable or single * @return void * @todo Find something usefull for this method. */ @@ -505,7 +505,7 @@ class BaseImage extends BaseFrameworkSystem implements Registerable { // Walk through all groups foreach ($templateInstance->getVariableGroups() as $group => $set) { // Set the group - $templateInstance->setVariableGroup($group, false); + $templateInstance->setVariableGroup($group, FALSE); // Compile image string $imageString = $templateInstance->compileRawCode($this->getString()); @@ -516,7 +516,7 @@ class BaseImage extends BaseFrameworkSystem implements Registerable { $size = $templateInstance->compileRawCode($this->getFontSize()); // Set the image string - //* DEBUG: */ echo __METHOD__.": size={$size}, x={$x}, y={$y}, string={$imageString}
\n"; + //* DEBUG: */ print __METHOD__.": size={$size}, x={$x}, y={$y}, string={$imageString}
\n"; imagestring($this->getImageResource(), $size, $x, $y, $imageString, $foreColor); } // END - foreach break;