International PHP Conference Berlin 2025

Yaf_Dispatcher::disableView

(Yaf >=1.0.0)

Yaf_Dispatcher::disableViewDisable 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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top