[Beeframework-svn] SF.net SVN: beeframework:[124] trunk/framework/Bee/MVC
Brought to you by:
b_hartmann,
m_plomer
|
From: <m_p...@us...> - 2013-11-07 17:18:31
|
Revision: 124
http://sourceforge.net/p/beeframework/code/124
Author: m_plomer
Date: 2013-11-07 17:18:26 +0000 (Thu, 07 Nov 2013)
Log Message:
-----------
- MVC: IHandlerInterceptor: made $handler optional in postHandle() and afterCompletion()
Modified Paths:
--------------
trunk/framework/Bee/MVC/IHandlerInterceptor.php
trunk/framework/Bee/MVC/Interceptor/JsonDecoding.php
trunk/framework/Bee/MVC/Interceptor/StripSlashes.php
Modified: trunk/framework/Bee/MVC/IHandlerInterceptor.php
===================================================================
--- trunk/framework/Bee/MVC/IHandlerInterceptor.php 2013-11-07 17:12:51 UTC (rev 123)
+++ trunk/framework/Bee/MVC/IHandlerInterceptor.php 2013-11-07 17:18:26 UTC (rev 124)
@@ -45,7 +45,7 @@
* @param Bee_MVC_ModelAndView $mav
* @return void
*/
- public function postHandle(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler, Bee_MVC_ModelAndView $mav);
+ public function postHandle(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler = null, Bee_MVC_ModelAndView $mav);
/**
@@ -56,7 +56,5 @@
* @param Exception $ex
* @return void
*/
- public function afterCompletion(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler, Exception $ex);
+ public function afterCompletion(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler = null, Exception $ex);
}
-
-?>
\ No newline at end of file
Modified: trunk/framework/Bee/MVC/Interceptor/JsonDecoding.php
===================================================================
--- trunk/framework/Bee/MVC/Interceptor/JsonDecoding.php 2013-11-07 17:12:51 UTC (rev 123)
+++ trunk/framework/Bee/MVC/Interceptor/JsonDecoding.php 2013-11-07 17:18:26 UTC (rev 124)
@@ -46,14 +46,13 @@
- public function postHandle(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler, Bee_MVC_ModelAndView $mav) {
+ public function postHandle(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler = null, Bee_MVC_ModelAndView $mav) {
}
- public function afterCompletion(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler, Exception $ex) {
+ public function afterCompletion(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler = null, Exception $ex) {
}
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Modified: trunk/framework/Bee/MVC/Interceptor/StripSlashes.php
===================================================================
--- trunk/framework/Bee/MVC/Interceptor/StripSlashes.php 2013-11-07 17:12:51 UTC (rev 123)
+++ trunk/framework/Bee/MVC/Interceptor/StripSlashes.php 2013-11-07 17:18:26 UTC (rev 124)
@@ -38,12 +38,11 @@
return $param;
}
- public function postHandle(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler, Bee_MVC_ModelAndView $mav) {
+ public function postHandle(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler = null, Bee_MVC_ModelAndView $mav) {
}
- public function afterCompletion(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler, Exception $ex) {
+ public function afterCompletion(Bee_MVC_IHttpRequest $request, Bee_MVC_IController $handler = null, Exception $ex) {
}
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|