<?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:api</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-02T18:59:29+0000</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:filter&amp;rev=1561705087&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:filterdata&amp;rev=1561705111&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:import&amp;rev=1561705125&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:mailattachment&amp;rev=1561705155&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:mailer&amp;rev=1561705138&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:mailmessage&amp;rev=1561705168&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:optimizer&amp;rev=1561705184&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:relationfactory&amp;rev=1561705199&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:table&amp;rev=1561705216&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:tablefactory&amp;rev=1561705235&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:tablerecord&amp;rev=1561705254&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:tablerecordfactory&amp;rev=1561705273&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.stilit.se/doku.php?id=vortex:api:view&amp;rev=1561705287&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:api:filter&amp;rev=1561705087&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:58:07+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:filter</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:filter&amp;rev=1561705087&amp;do=diff</link>
        <description>Filter

The Filter class is used to filter the data that is fetched from a table. Filters are used in the GUI to filter rows shown in the ShowList. Filters created in the GUI can be used in the API by supplying the Filter class constructor with the ID of the specific Filter.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:filterdata&amp;rev=1561705111&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:58:31+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:filterdata</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:filterdata&amp;rev=1561705111&amp;do=diff</link>
        <description>FilterData

The FilterData class provides a quick and simple way to create a Filter instance while scripting the Vortex.


Constants

F_AND - 

Methods

Code Examples

This example creates a new Filter searching for all posts in MyTable having show=1 and fetches the first 100 rows matching the criteria.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:import&amp;rev=1561705125&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:58:45+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:import</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:import&amp;rev=1561705125&amp;do=diff</link>
        <description>Import

The Import class handles importing data into the Vortex. Data can be imported from a variety of file formats as documented in the link here.
Since version 1.1.1029 it is possible to invoke an import from the API to automate import processes for integrations.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:mailattachment&amp;rev=1561705155&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:59:15+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:mailattachment</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:mailattachment&amp;rev=1561705155&amp;do=diff</link>
        <description>MailAttachment

The MailAttachment class handles attachments in MailMessage instances. This class automatically encodes/decodes attachment content before/after sending/receiving messages. It also handles loading/saving attachments from/to files and keeps track of the mimetype of the attachment.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:mailer&amp;rev=1561705138&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:58:58+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:mailer</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:mailer&amp;rev=1561705138&amp;do=diff</link>
        <description>Mailer

The Mailer class handles incoming and outoing E-mail messages. It can connect to a mailserver using the IMAP or POP3 protocols to customizable server ports. Sending mail is currently done using the PHP mail() function which by default uses the local sendmail daemon to send mail.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:mailmessage&amp;rev=1561705168&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:59:28+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:mailmessage</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:mailmessage&amp;rev=1561705168&amp;do=diff</link>
        <description>MailMessage

The MailMessage class keeps track of a single mail message with one or multiple bodies and attachments and header information.

Extends

Implements

Constants
TEXTMessage part typeMULTIPARTMessage part typeMESSAGEMessage part typeAPPLICATION</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:optimizer&amp;rev=1561705184&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:59:44+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:optimizer</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:optimizer&amp;rev=1561705184&amp;do=diff</link>
        <description>Optimizer

Added in version 1.2.1242

The Optimizer collects statistical information about the internal class and method usage in a database table. To let us optimize the Vortex engine for future performance upgrades there is also a method to post the statistical information periodically to our servers.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:relationfactory&amp;rev=1561705199&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T06:59:59+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:relationfactory</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:relationfactory&amp;rev=1561705199&amp;do=diff</link>
        <description>RelationFactory

The RelationFactory is a factory cacheing all Relations loaded by Vortex. All instances of Relation have to be instanciated through the RelationFactory. The factory keeps a cache of the Relation instances which will be returned. If no chache exists a new instance of Relation class is created, put into cache and returned.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:table&amp;rev=1561705216&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T07:00:16+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:table</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:table&amp;rev=1561705216&amp;do=diff</link>
        <description>Table

Fetch records

There are a couple of methods to fetch TableRecords from a Table. Which method to use depends on which information is available and the quantity of records to fetch.

To fetch one TableRecord from a Table when having the UUID for the wanted TableRecord, simply use</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:tablefactory&amp;rev=1561705235&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T07:00:35+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:tablefactory</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:tablefactory&amp;rev=1561705235&amp;do=diff</link>
        <description>TableFactory

The TableFactory is a factory cacheing all Tables loaded by Vortex. All instances of Table have to be instanciated through the TableFactory. The factory keeps a cache of the Table instances which will be returned. If no chache exists a new instance of Table class is created, put into cache and returned.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:tablerecord&amp;rev=1561705254&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T07:00:54+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:tablerecord</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:tablerecord&amp;rev=1561705254&amp;do=diff</link>
        <description>TableRecord

The TableRecord class describes one record from a Table.

Extends

TableStub

Implements

Initializable

Constants

Methods

Code Examples

Connect the 1-side of a Relation to another record


$thisTableRecord = TableRecordFactory::getTableRecord( 'myTable', $idTableRecord1 );
$otherTableRecord = TableRecordFactory::getTableRecord( 'myOtherTable', $idTableRecord2 );

$thisTableRecord-&gt;set( 'theRelationField', $otherTableRecord-&gt;getUUID() );</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:tablerecordfactory&amp;rev=1561705273&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T07:01:13+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:tablerecordfactory</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:tablerecordfactory&amp;rev=1561705273&amp;do=diff</link>
        <description>TableFactory

The TableRecordFactory is a factory cacheing all TableRecords loaded by Vortex. All instances of TableRecord have to be instanciated through the TableRecordFactory. The factory keeps a cache of the TableRecord instances which will be returned. If no chache exists a new instance of TableRecord class is created, put into cache and returned.</description>
    </item>
    <item rdf:about="https://wiki.stilit.se/doku.php?id=vortex:api:view&amp;rev=1561705287&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-06-28T07:01:27+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vortex:api:view</title>
        <link>https://wiki.stilit.se/doku.php?id=vortex:api:view&amp;rev=1561705287&amp;do=diff</link>
        <description>View

The viwes in Vortex keeps track of which fields and relations to load and show. Views are used and can be created in the GUI, but can also be a powerful tool to speed up data access in the API. When loading data through a view only one query is run to fetch data from the database.</description>
    </item>
</rdf:RDF>
