<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.stilit.se/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.stilit.se/feed.php">
        <title>Stilit Wiki vortex:scripting</title>
        <description></description>
        <link>https://wiki.stilit.se/</link>
        <image rdf:resource="https://wiki.stilit.se/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-05T10:44:39+0000</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:cli&amp;rev=1561704828&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:htmlmarkup&amp;rev=1561704935&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:restservices&amp;rev=1561704915&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:tablemethods&amp;rev=1561704866&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:tablescripts&amp;rev=1561704846&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:vxstring&amp;rev=1561705006&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:vxtr&amp;rev=1561705042&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:scripting:webservices&amp;rev=1561704890&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.stilit.se/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Stilit Wiki</title>
        <link>https://wiki.stilit.se/</link>
        <url>https://wiki.stilit.se/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:cli&amp;rev=1561704828&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:53:48+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:cli</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:cli&amp;rev=1561704828&amp;do=diff</link>
        <description>Command Line Scripting

Vortex has the ability to run command line scripts in the same manner as other scripts are run. When running a command line script the database and user information is supplied together with the class and method to run. Parameters can be passed to the method.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:htmlmarkup&amp;rev=1561704935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:55:35+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:htmlmarkup</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:htmlmarkup&amp;rev=1561704935&amp;do=diff</link>
        <description>Vortex HTML Markup

Since version 1.2 the Vortex handles HTML Markup replacement, which makes it easier to use ShowLists and specific field types in your custom scripts. The replacement is handled by the javascript class SLTagParser and is executed in the html footer on loading. To run the parser in your own code just run this snippet of code, replacing the target document element with the element you wish to traverse.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:restservices&amp;rev=1561704915&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:55:15+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:restservices</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:restservices&amp;rev=1561704915&amp;do=diff</link>
        <description>Vortex Integration via REST Webservices

Since version 1.2 the Vortex supports integration via REST Webservices. This chapter will explain how to configure, maintain and use this integration interface in depth.

Overview

The REST webservice is called using the</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:tablemethods&amp;rev=1561704866&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:54:26+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:tablemethods</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:tablemethods&amp;rev=1561704866&amp;do=diff</link>
        <description>Table Methods in the Vortex

To make scripting the Vortex more straightforward there is the possibility to add custom methods to the TableRecord class. The methods are added per Table by using a Methods-class for each table containing custom methods. The methods in this class will be called when calling the method on a TableRecord instance with a reference to the right Table.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:tablescripts&amp;rev=1561704846&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:54:06+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:tablescripts</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:tablescripts&amp;rev=1561704846&amp;do=diff</link>
        <description>Table Scripting in the Vortex

To customize the behaviour of the Vortex there is the possibility for per Table scripting. Here you can trigger events like beforeSave and afterLoad, but you can also configure and script custom scripts that can be activated by the user via the</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:vxstring&amp;rev=1561705006&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:56:46+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:vxstring</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:vxstring&amp;rev=1561705006&amp;do=diff</link>
        <description>Vortex String

The Vortex String, or VxString for short, is a string which uses a custom syntax for variable substituion in the Vortex. The syntax and substitution rules are described below.

Syntax

The VxString is parsed by the Vortex using a regular expression, from left to right. Variable names enclosed by</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:vxtr&amp;rev=1561705042&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:57:22+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:vxtr</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:vxtr&amp;rev=1561705042&amp;do=diff</link>
        <description>vx\tr classes

In version 1.3.1255 the vx\tr namespace was added to the Vortex when the need for easier access to TableRecords was noted. The Vortex dynamically creates classes in the vx\tr namespace for every table, giving the class the same name as the table. There are a few reserved words in PHP preventing classes with names like</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:scripting:webservices&amp;rev=1561704890&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:54:50+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:scripting:webservices</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:scripting:webservices&amp;rev=1561704890&amp;do=diff</link>
        <description>Vortex Integration via Webservices

Integrating the Vortex with other systems is relatively straightforward. The preferred way of integration is via the built in webservice API, or an extension thereof. Using the webservice API or extending it involves a few configuration steps described below. All of the configuration and extensions are done within the Database Instance.</description>
    </item>
</rdf:RDF>
