Lasso Soft Inc. > Home

[ includes ]

Method

[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]

  • Syntax
includes
Examples
  • Beginner

Trace the path to the parent file from an include for debugging purposes

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)

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft