aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-08-29 21:31:35 +0200
committerKevin Chabowski <kevin@kch42.de>2011-08-29 21:31:35 +0200
commita85e1fbbfbbaef176141e98a4691273cd06d0a65 (patch)
treeb988ebb9d8d7324ba487af1ecfecbca729348578
parent9fbcf8e3909b7308574a9837e100cb13fdd6acbf (diff)
downloadratatoeskr-cms-a85e1fbbfbbaef176141e98a4691273cd06d0a65.tar.gz
ratatoeskr-cms-a85e1fbbfbbaef176141e98a4691273cd06d0a65.tar.bz2
ratatoeskr-cms-a85e1fbbfbbaef176141e98a4691273cd06d0a65.zip
Corrected a typo and fixed docu.
-rw-r--r--ratatoeskr/sys/models.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php
index cd327e1..d8da3b0 100644
--- a/ratatoeskr/sys/models.php
+++ b/ratatoeskr/sys/models.php
@@ -15,6 +15,19 @@ require_once(dirname(__FILE__) . "/utils.php");
db_connect();
/*
+ * Array: $imagetype_file_extensions
+ * Array of default file extensions for most IMAGETYPE_* constants
+ */
+$imagetype_file_extensions = array(
+ IMAGETYPE_GIF => "gif",
+ IMAGETYPE_JPEG => "jpg",
+ IMAGETYPE_PNG => "png",
+ IMAGETYPE_BMP => "bmp",
+ IMAGETYPE_TIFF_II => "tif",
+ IMAGETYPE_TIFF_MM => "tif",
+);
+
+/*
* Variable: $ratatoeskr_settings
* The global <Settings> object. For internal use.
*/
@@ -1661,19 +1674,6 @@ class UnknownFileFormat extends Exception { }
class IOError extends Exception { }
/*
- * Array: $imagetype_file_extensions
- * Array of default file extensions for most IMAGETYPE_* constants
- */
-$imagetype_file_extensions = array(
- IMAGETYPE_GIF => "gif",
- IMAGETYPE_JPEG => "jpg",
- IMAGETYPE_PNG => "png",
- IMAGETYPE_BMP => "bmp",
- IMAGETYPE_TIFF_II => "tif",
- IMAGETYPE_TIFF_MM => "tif",
-);
-
-/*
* Class: Image
* Representation of an image entry.
*/
@@ -1750,7 +1750,7 @@ class Image
/*
* Constructor: by_id
- * Get iimage by ID.
+ * Get image by ID.
*
* Parameters:
* $id - The ID