diff --git a/reference/yaf/yaf_dispatcher/autorender.xml b/reference/yaf/yaf_dispatcher/autorender.xml index b41b55344a..76400fe1ed 100644 --- a/reference/yaf/yaf_dispatcher/autorender.xml +++ b/reference/yaf/yaf_dispatcher/autorender.xml @@ -17,10 +17,13 @@ Yaf_Dispatcher will render automatically after dispatches a incoming request, you can prevent the rendering by calling this method with flag TRUE + + + you can simply return FALSE in a action to prevent the auto-rendering of + that action + + - - - @@ -60,6 +63,7 @@ class IndexController extends Yaf_Controller_Abstract { Yaf_Dispatcher::getInstance()->autoRender(FALSE); } } + } ?> ]]> diff --git a/reference/yaf/yaf_dispatcher/disableview.xml b/reference/yaf/yaf_dispatcher/disableview.xml index 07a9c65be0..e83162830f 100644 --- a/reference/yaf/yaf_dispatcher/disableview.xml +++ b/reference/yaf/yaf_dispatcher/disableview.xml @@ -10,15 +10,18 @@ &reftitle.description; - public Yaf_DispatcherYaf_Dispatcher::disableView + public boolYaf_Dispatcher::disableView - + disable view engine, used in some app that user will output by theirself + + + you can simply return FALSE in a action to prevent the auto-rendering of + that action + + - - -