projects
/
shipsimu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
318b590
)
Method call on non-object fixed
author
Roland Häder
<roland@mxchange.org>
Fri, 20 Jun 2008 18:09:05 +0000
(18:09 +0000)
committer
Roland Häder
<roland@mxchange.org>
Fri, 20 Jun 2008 18:09:05 +0000
(18:09 +0000)
inc/classes/main/controller/default/class_WebDefaultNewsController.php
patch
|
blob
|
history
inc/classes/main/controller/default/class_WebLoginController.php
patch
|
blob
|
history
inc/classes/main/controller/login/class_WebLoginAreaController.php
patch
|
blob
|
history
diff --git
a/inc/classes/main/controller/default/class_WebDefaultNewsController.php
b/inc/classes/main/controller/default/class_WebDefaultNewsController.php
index f623f8407e997da0915036278b2af8e99160358b..e0f506aacca7b99a0af62da8ce0952f8a744660e 100644
(file)
--- a/
inc/classes/main/controller/default/class_WebDefaultNewsController.php
+++ b/
inc/classes/main/controller/default/class_WebDefaultNewsController.php
@@
-67,15
+67,15
@@
class WebDefaultNewsController extends BaseController implements Controller {
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
+ // Get the command instance from the resolver by sending a request instance to the resolver
+ $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
+
// Add more filters by the command
$commandInstance->addExtraFilters($this);
// Run the pre filters
$this->executePreFilters($requestInstance, $responseInstance);
// Add more filters by the command
$commandInstance->addExtraFilters($this);
// Run the pre filters
$this->executePreFilters($requestInstance, $responseInstance);
- // Get the command instance from the resolver by sending a request instance to the resolver
- $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
-
// This request was valid! :-D
$requestInstance->requestIsValid();
// This request was valid! :-D
$requestInstance->requestIsValid();
diff --git
a/inc/classes/main/controller/default/class_WebLoginController.php
b/inc/classes/main/controller/default/class_WebLoginController.php
index 28378f393c13e9622cafb462176f27bdcdceede5..5bc762c89d419cc9e788e52f5866df68242f782e 100644
(file)
--- a/
inc/classes/main/controller/default/class_WebLoginController.php
+++ b/
inc/classes/main/controller/default/class_WebLoginController.php
@@
-66,15
+66,15
@@
class WebLoginController extends BaseController implements Controller {
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
+ // Get the command instance from the resolver by sending a request instance to the resolver
+ $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
+
// Add more filters by the command
$commandInstance->addExtraFilters($this);
// Run the pre filters
$this->executePreFilters($requestInstance, $responseInstance);
// Add more filters by the command
$commandInstance->addExtraFilters($this);
// Run the pre filters
$this->executePreFilters($requestInstance, $responseInstance);
- // Get the command instance from the resolver by sending a request instance to the resolver
- $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
-
// This request was valid! :-D
$requestInstance->requestIsValid();
// This request was valid! :-D
$requestInstance->requestIsValid();
diff --git
a/inc/classes/main/controller/login/class_WebLoginAreaController.php
b/inc/classes/main/controller/login/class_WebLoginAreaController.php
index c43c897d2874e98d65b982d0bc9c5263c9d1a196..4bc6f29ec1ce17b4cbd7a019859b3b4a68c5f4c2 100644
(file)
--- a/
inc/classes/main/controller/login/class_WebLoginAreaController.php
+++ b/
inc/classes/main/controller/login/class_WebLoginAreaController.php
@@
-77,6
+77,9
@@
class WebLoginAreaController extends BaseController implements Controller {
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
+ // Get the command instance from the resolver by sending a request instance to the resolver
+ $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
+
// Add more filters by the command
$commandInstance->addExtraFilters($this);
// Add more filters by the command
$commandInstance->addExtraFilters($this);
@@
-89,9
+92,6
@@
class WebLoginAreaController extends BaseController implements Controller {
$responseInstance->redirectToConfiguredUrl('login_failed_url');
}
$responseInstance->redirectToConfiguredUrl('login_failed_url');
}
- // Get the command instance from the resolver by sending a request instance to the resolver
- $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
-
// This request was valid! :-D
$requestInstance->requestIsValid();
// This request was valid! :-D
$requestInstance->requestIsValid();