[includes] returns an array of file paths descending from the parent file down to the included file that contains the [includes] method.
NOTE: [includes] is analogous to [web_response->includes]
includes
Use [includes] to return an array of file paths from the deepest include to the file requested by the browser.
Code
// File "test1.lasso"
include('test.lasso')
// File "test.lasso"
includes
Result
array(/mypath/test1.lasso, /mypath/test.lasso)
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments