I am wondering how framework one (fw1) making view() function available in views, like ColdFusion in built functions?
For example, in the below code , the view() function can be called like any ColdFusion in built functions. How fw1 making it possible?
#view(‘components/contact’)#
The function view() has been defined in /framework/one.cfc
Application.cfcextendsone.cfc. Every view is executed in the context of theOnRequestmethod and can therefore access these methods.From the documentation