projects
/
admin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44a5879
)
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:41:20 +0000
(21:41 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 20 Dec 2012 21:41:20 +0000
(21:41 +0000)
application/admin/class_ApplicationHelper.php
patch
|
blob
|
history
diff --git
a/application/admin/class_ApplicationHelper.php
b/application/admin/class_ApplicationHelper.php
index b949d7eee45d55e17d638146227c0ae93353bb9f..b20f493611b2708645268d8fc56193e397626db9 100644
(file)
--- a/
application/admin/class_ApplicationHelper.php
+++ b/
application/admin/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