ccampbell / sonic

fast, lightweight PHP 5.3 MVC framework
http://www.sonicframework.com
Apache License 2.0
63 stars 11 forks source link

add 'disableView' method at app level #30

Open csurf opened 11 years ago

csurf commented 11 years ago

currently, its possible to globally disable the 'layout' functionality at the application level, yet views are still tied & loaded to each controller/action. So, add a method such as App::disableView() that skips the default behavior of 'setting' controller's view, and allow the user to manually 'set' views as needed within the controller(s).