Fixed issue #14561: Violation of naming conventions in t3lib_compressor
authorIngo Renner <ingo.renner@typo3.org>
Sun, 6 Jun 2010 13:41:02 +0000 (13:41 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sun, 6 Jun 2010 13:41:02 +0000 (13:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7822 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_compressor.php
t3lib/class.t3lib_pagerenderer.php
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php

index eb96528..fbb98df 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-06-06  Ingo Renner  <ingo@typo3.org>
 
        * Fixed issue #14560: Violation of naming conventions in sprite generation API
+       * Fixed issue #14561: Violation of naming conventions in t3lib_compressor
 
 2010-06-06  Steffen Kamper  <info@sk-typo3.de>
 
index b5455eb..7d5a005 100644 (file)
@@ -34,7 +34,7 @@
  * @subpackage t3lib
  * $Id$
  */
-class t3lib_compressor {
+class t3lib_Compressor {
 
        protected $targetDirectory = 'typo3temp/compressor/';
 
index 4fd4fd6..f0fc4ac 100644 (file)
@@ -47,7 +47,7 @@ class t3lib_PageRenderer implements t3lib_Singleton {
        protected $csConvObj;
        protected $lang;
 
-       /* @var t3lib_compressor Instance of t3lib_compressor */
+       /* @var t3lib_Compressor Instance of t3lib_Compressor */
        protected $compressor;
 
        // static array containing associative array for the included files
@@ -1421,13 +1421,13 @@ class t3lib_PageRenderer implements t3lib_Singleton {
        }
 
        /**
-        * Returns instance of t3lib_compressor
+        * Returns instance of t3lib_Compressor
         *
-        * @return      t3lib_compressor                Instance of t3lib_compressor
+        * @return      t3lib_Compressor                Instance of t3lib_Compressor
         */
        protected function getCompressor() {
                if ($this->compressor === NULL) {
-                       $this->compressor = t3lib_div::makeInstance('t3lib_compressor');
+                       $this->compressor = t3lib_div::makeInstance('t3lib_Compressor');
                }
                return $this->compressor;
        }
index e7257ac..941dbf4 100644 (file)
@@ -1153,7 +1153,7 @@ class tx_rtehtmlarea_base extends t3lib_rteapi {
                        $filename = ($GLOBALS['TSFE']->absRefPrefix ? $GLOBALS['TSFE']->absRefPrefix : '') . t3lib_div::createVersionNumberedFilename($relativeFilename);
                } else {
                        if ($compress) {
-                               $compressor = t3lib_div::makeInstance('t3lib_compressor');
+                               $compressor = t3lib_div::makeInstance('t3lib_Compressor');
                                $filename = $compressor->compressJsFile('../' . $this->backPath  . $relativeFilename);
                        } else {
                                $filename = t3lib_div::createVersionNumberedFilename('../' . $this->backPath  . $relativeFilename);
@@ -1362,7 +1362,7 @@ class tx_rtehtmlarea_base extends t3lib_rteapi {
        function is_FE() {
                return is_object($GLOBALS['TSFE']) && !$this->isFrontendEditActive();
        }
-       
+
        /**
         * Checks whether frontend editing is active.
         *