Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores()...
[mailer.git] / application / mailer / class_ApplicationHelper.php
index 8d528a3cc4768c6d1be3a6c7ecd645d4c733f31e..8a8e0901592f8c921de4f825cf2998b822ea99ca 100644 (file)
@@ -193,7 +193,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                } // END - if
 
                // ... and a new response object
-               $responseClass = sprintf("%sResponse", $this->convertToClassName($response));
+               $responseClass = sprintf('%sResponse', self::convertToClassName($response));
                $responseInstance = ObjectFactory::createObjectByName($responseClass, array($this));
 
                // Remember response instance here
@@ -212,7 +212,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                } // END - if
 
                // Get a controller resolver
-               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
+               $resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
                $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
 
                // Get a controller instance as well