From e7d25e39f4463a4307fc4ec14a51afbf96974686 Mon Sep 17 00:00:00 2001 From: Roberto Marzialetti Date: Sat, 17 Aug 2024 12:24:14 +0200 Subject: [PATCH] Fix MD formatting for table Fix MD formatting for table --- .../05.scope/page.md | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/04.guides/11.developing-with-lucee-server/05.scope/page.md b/docs/04.guides/11.developing-with-lucee-server/05.scope/page.md index bc4a633da..aa9470c71 100644 --- a/docs/04.guides/11.developing-with-lucee-server/05.scope/page.md +++ b/docs/04.guides/11.developing-with-lucee-server/05.scope/page.md @@ -13,25 +13,25 @@ menuTitle: Scopes These scopes are not necessarily available between components in the same request -- in other words elements or variables in these scopes may be "out of scope" if set in one module and referred to in another. -Scope | Description | Notes | ------------------------- | ------------------------- -arguments | Holds arguments that are passed to a function or CFC method | | -attributes | Contains attributes that are passed to a custom tag | | -caller | Refers to the scope of the calling page when a custom tag or module is called | | -this | The public scope for a Component/CFC | | -thread | The scope within a thread | | -variables | The private scope for a Component/CFC | | +| Scope | Description | Notes | +| ---------- | -------------------------------------------------------------------------------- | ----- | +| arguments | Holds arguments that are passed to a function or CFC method | | +| attributes | Contains attributes that are passed to a custom tag | | +| caller | Refers to the scope of the calling page when a custom tag or module is called | | +| this | The public scope for a Component/CFC | | +| thread | The scope within a thread | | +| variables | The private scope for a Component/CFC | | ## Request scopes ## These scopes persist through a single request, i.e. any code, in any module, can refer to these scopes during the life of the request: -Scope | Description | Notes | ------------------------- | ------------------------- -form | Contains arguments that are received from HTML POST operations, i.e. usually form data | Lucee has an option to merge form and URL scopes. If this option is enabled, both scopes will contain the same items. | -cgi | Holds environment variables generated by the web server. | CGI variables will vary according to server platform in use and browser. | -request | Used to store data across an entire request. Data put into the request scope will be accessible from all templates, CFCs, custom tags, etc | | -url | | | +| Scope | Description | Notes | +| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- | +| form | Contains arguments that are received from HTML POST operations, i.e. usually form data | Lucee has an option to merge form and URL scopes. If this option is enabled, both scopes will contain the same items. | +| cgi | Holds environment variables generated by the web server. | CGI variables will vary according to server platform in use and browser. | | +| request | Used to store data across an entire request. Data put into the request scope will be accessible from all templates, CFCs, custom tags, etc | | +| url | | | ## Query scopes ## @@ -45,14 +45,14 @@ This (slow) lookup can be disabled (for better performance) in the Lucee admin o These scopes persist between requests, i.e. a value can be set during one request then retrieved in a subsequent one: -Scope | Description | Notes | ------------------------- | ------------------------- -application| Holds elements that relate to the application as a whole. | | -client | Contains elements that persist indefinitely for this particular client (browser).| | -cookie | Refers to the scope of the calling page when a custom tag or module is called | | -server | Used to store data that is accessible from any application on a particular server.| | -session | Holds data pertaining to the user's session. | | -cluster | | Deprecated | +| Scope | Description | Notes | +| ----------- | ---------------------------------------------------------------------------------- | ---------- | +| application | Holds elements that relate to the application as a whole. | | +| client | Contains elements that persist indefinitely for this particular client (browser). | | +| cookie | Refers to the scope of the calling page when a custom tag or module is called | | +| server | Used to store data that is accessible from any application on a particular server. | | +| session | Holds data pertaining to the user's session. | | +| cluster | | Deprecated | ## What scope should I use in...? ##