Yaf_Dispatcher::disableView
(Yaf >=1.0.0)
Yaf_Dispatcher::disableView — Disable view rendering
Description
public Yaf_Dispatcher::disableView ( ) : bool
disable view engine, used in some app that user will output by theirself
Note:
you can simply return
false
in a action to prevent the auto-rendering of that action
Parameters
This function has no parameters.
Return Values
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-dispatcher.disableview.php