]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/images/class_BaseImage.php
Renamed 'stacker' -> 'stack'
[core.git] / inc / classes / main / images / class_BaseImage.php
index f5aebb36d62020ae57452b588839631350419dbc..cb7c8a887d2abd9dbc635a586897c852f336caee 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -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}<br />\n";
+                                       //* DEBUG: */ print __METHOD__.": size={$size}, x={$x}, y={$y}, string={$imageString}<br />\n";
                                        imagestring($this->getImageResource(), $size, $x, $y, $imageString, $foreColor);
                                } // END - foreach
                                break;