imported>Margit.link-rodrigue No edit summary |
imported>Margit.link-rodrigue No edit summary |
||
| Line 19: | Line 19: | ||
Data retrieval and handling functions, which set local variables and then display or store them: | Data retrieval and handling functions, which set local variables and then display or store them: | ||
* '''external_value''' - displays the value of any such variable. | * '''<code>#external_value</code>''' - displays the value of any such variable. | ||
* '''for_external_table''' - cycles through all the values retrieved for a set of variables, displaying the same "container" text for each one. | * '''<code>#for_external_table</code>''' - cycles through all the values retrieved for a set of variables, displaying the same "container" text for each one. | ||
* '''display_external_table''' - cycles through all the values retrieved for a set of variables, displaying each "row" using a template. | * '''<code>#display_external_table</code>''' - cycles through all the values retrieved for a set of variables, displaying each "row" using a template. | ||
* '''format_external_table''' - available only if Cargo is installed. Formats the retrieved external data the same way as #cargo_query. | * '''<code>#format_external_table</code>''' - available only if Cargo is installed. Formats the retrieved external data the same way as #cargo_query. | ||
In the Legacy mode the extension also defines data retrieval functions, which set local variables available with wikipage scope that can later be displayed using the above functions: | In the Legacy mode the extension also defines data retrieval functions, which set local variables available with wikipage scope that can later be displayed using the above functions: | ||
* '''get_external_data''' - retrieves data from various sources, thus replacing any of the below parser functions, and assigns it to variables that can be accessed on the page. | * '''<code>#get_external_data</code>''' - retrieves data from various sources, thus replacing any of the below parser functions, and assigns it to variables that can be accessed on the page. | ||
* '''get_web_data''' - retrieves CSV, GFF, JSON, YAML, XML, HTML, ini, or free-form data from a URL and assigns it to variables that can be accessed on the page. | * '''<code>#get_web_data</code>''' - retrieves CSV, GFF, JSON, YAML, XML, HTML, ini, or free-form data from a URL and assigns it to variables that can be accessed on the page. | ||
* '''get_soap_data''' - retrieves data from a URL via the SOAP protocol. | * '''<code>#get_soap_data</code>''' - retrieves data from a URL via the SOAP protocol. | ||
* '''get_file_data''' - retrieves data from a file on the local server, in the same formats as #get_web_data. | * '''<code>#get_file_data</code>''' - retrieves data from a file on the local server, in the same formats as #get_web_data. | ||
* '''get_db_data''' - retrieves data from a database. | * '''<code>#get_db_data</code>''' - retrieves data from a database. | ||
* '''get_ldap_data''' - retrieves data from an LDAP server. | * '''<code>#get_ldap_data</code>''' - retrieves data from an LDAP server. | ||
* '''get_program_data''' - retrieves data returned by a program run server-side. | * '''<code>#get_program_data</code>''' - retrieves data returned by a program run server-side. | ||
* '''get_inline_data''' - parses data passed to it, in the same formats as #get_web_data. | * '''<code>#get_inline_data</code>''' - parses data passed to it, in the same formats as #get_web_data. | ||
and also #clear_external_data that erases the current set of retrieved data or only some variables. | and also #clear_external_data that erases the current set of retrieved data or only some variables. | ||
Revision as of 14:45, 29 April 2026
Not available:The technical references of exensions are not available in this demo system.