projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90d79e8
)
Global fix for generating right class name for controller resolver (to make that...
author
Roland Häder
<roland@mxchange.org>
Thu, 20 Dec 2012 21:42:00 +0000
(21:42 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 20 Dec 2012 21:42:00 +0000
(21:42 +0000)
application/mailer/class_ApplicationHelper.php
patch
|
blob
|
history
diff --git
a/application/mailer/class_ApplicationHelper.php
b/application/mailer/class_ApplicationHelper.php
index 869db169ad880fb6bdaea0748516c7f533568535..8d528a3cc4768c6d1be3a6c7ecd645d4c733f31e 100644
(file)
--- a/
application/mailer/class_ApplicationHelper.php
+++ b/
application/mailer/class_ApplicationHelper.php
@@
-211,8
+211,8
@@
class ApplicationHelper extends BaseApplication implements ManageableApplication
$requestInstance->setRequestElement('page', $commandName);
} // END - if
- // Get a resolver
- $resolverClass =
sprintf("%sControllerResolver", $this->convertToClassName($responseType)
);
+ // Get a
controller
resolver
+ $resolverClass =
$this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver'
);
$resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
// Get a controller instance as well