Lasso Soft Inc. > Home

[ web_response->includes ]

Method

[web_response->includes] returns an array of filenames which were invoked in order to include the current file.

This method is useful in troubleshooting the nested include process and therefore the currently set variables or conditions under which the included file is being executed.

  • Syntax
web_response->includes
Examples
  • Beginner

To trace the nested include structure which resulted in the file being executed:

Use the [web_response->includes] method.

Code

// File "file0.lasso"
include('/file1.lasso')

// File "file1.lasso"
include('/file2.lasso')

// FIle "file2.lasso"
web_response->includes

Result

Executing "file0.lasso" returns:
array(/file0.lasso, /file1.lasso, /file2.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