(Yaf >=1.0.0)
Yaf_Dispatcher::disableView — Disable view rendering
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
This function has no parameters.
© 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