<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>235</b><br />
<br />
<b>Warning</b>:  Undefined array key "media" in <b>/var/www/platform-wiki/feed.php</b> on line <b>305</b><br />
<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.platform4php.dk/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.platform4php.dk/feed.php">
        <title>Platform-Wiki</title>
        <description></description>
        <link>https://wiki.platform4php.dk/</link>
        <image rdf:resource="https://wiki.platform4php.dk/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-10T11:01:35+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=accesstoken_class&amp;rev=1613051263&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=api_class&amp;rev=1613050524&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=classes&amp;rev=1707922968&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=client_class&amp;rev=1653388400&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=collection_class&amp;rev=1581935353&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=component_class&amp;rev=1692100167&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=connectormicrobizz_class&amp;rev=1574804443&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=database_class&amp;rev=1576964993&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=datarecord_class&amp;rev=1707925863&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=datarecordextensible_class&amp;rev=1572501771&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=datarecordextensiblefield_class&amp;rev=1572502073&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=design_class&amp;rev=1572500950&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=dialog_class&amp;rev=1615403340&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=errorhandler_class&amp;rev=1613422573&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=extensiblefield_class&amp;rev=1619442928&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=field_class&amp;rev=1653302491&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=fieldcomponent_class&amp;rev=1669814540&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=file_class&amp;rev=1572503018&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=filter_class&amp;rev=1596800146&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=form_class&amp;rev=1615491848&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=getting_started&amp;rev=1707920208&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=hello_world&amp;rev=1700297162&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=instance_class&amp;rev=1581543031&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=integrated_software&amp;rev=1613047829&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=job_class&amp;rev=1687851058&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=log_class&amp;rev=1572503564&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=menu_class&amp;rev=1576964126&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=naming_conventions&amp;rev=1709211414&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=page_class&amp;rev=1615402562&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=roadmap&amp;rev=1700305696&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=server_class&amp;rev=1581543221&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=servers&amp;rev=1619443644&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=start&amp;rev=1697214719&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.1_preparing_the_database&amp;rev=1605127372&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.2_preparing_folders&amp;rev=1605128647&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.3_installing_platform4php&amp;rev=1605131288&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.4_instances_instance_server&amp;rev=1605366534&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.5_creating_user_registration_and_login_form_field&amp;rev=1615406601&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.6_managing_security_user_accesstoken&amp;rev=1613109022&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.7_creating_a_data_structure_for_employees_and_departments_datarecord&amp;rev=1615409241&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.8_validating_datarecord_objects_and_some_notes_about_deletions_datarecord&amp;rev=1615410933&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.9_creating_a_user_interface_for_the_data_datarecordeditcomplex&amp;rev=1615444509&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.10_creating_an_interface_for_searching_data_filter_condition&amp;rev=1615493041&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=t1.11_adding_a_profile_picture_file&amp;rev=1615494048&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=table_class&amp;rev=1616102416&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=time_class&amp;rev=1598966334&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=todo&amp;rev=1623134567&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=tutorials&amp;rev=1615409129&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=type_class&amp;rev=1714485559&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=user_class&amp;rev=1581542293&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.platform4php.dk/doku.php?id=userproperty_class&amp;rev=1572008335&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.platform4php.dk/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Platform-Wiki</title>
        <link>https://wiki.platform4php.dk/</link>
        <url>https://wiki.platform4php.dk/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=accesstoken_class&amp;rev=1613051263&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-11T13:47:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>accesstoken_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=accesstoken_class&amp;rev=1613051263&amp;do=diff</link>
        <description>Accesstoken class

The accesstoken is used to handle access to instances and is an easy way to handle security.

A session using an accesstoken can be established like:


// Generate the object.
$token = new Accesstoken();
// Generate an unique token code within the object.
$token-&gt;generateTokenCode();
// Select when the token expires
$timestamp = new Timestamp(&#039;now&#039;);
// We expire it in ten minutes.
$accesstoken-&gt;expire_date = $timestamp-&gt;add(10*60);
// Save it for later reference.
$token-&gt;save…</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=api_class&amp;rev=1613050524&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-11T13:35:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>api_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=api_class&amp;rev=1613050524&amp;do=diff</link>
        <description>Api Class

The Api class exposes any Datarecord object in a RESTful API interface. This is extremely simple to setup:


$api_endpoint = new Api(array(&#039;CLASSES_TO_INCLUDE&#039;));
$api_endpoint-&gt;handle();


Preselecting an instance

For normal use, a user using the provided</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=classes&amp;rev=1707922968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-14T15:02:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>classes</title>
        <link>https://wiki.platform4php.dk/doku.php?id=classes&amp;rev=1707922968&amp;do=diff</link>
        <description>Classess

Essentials

	*  Datarecord class
	*  Type class
	*  Collection class
	*  Filter class
	*  Condition class
	*  File class

Advanced

	*  DatarecordExtensible class
	*  DatarecordReferable interface
	*  ExtensibleField class

API Package

	*  Endpoint class
	*  Client class

Connector Package

	*  Microbizz class

Currency Package

	*  Currency class
	*  Rate class

Form package

	*  Form class
	*  Field class

Page package

	*  MenuItem class
	*  Page class

Security Package

	*  Access…</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=client_class&amp;rev=1653388400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-24T10:33:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>client_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=client_class&amp;rev=1653388400&amp;do=diff</link>
        <description>Client Class</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=collection_class&amp;rev=1581935353&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-17T10:29:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>collection_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=collection_class&amp;rev=1581935353&amp;do=diff</link>
        <description>Collection class

The primary purpose of this class is to keep a number of Datarecords bundled together. In addition to convenience, this can also speed things up when using the reference-fields in the Datarecord class as information for all contained Datarecord objects can be queried at the same time.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=component_class&amp;rev=1692100167&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-15T11:49:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>component_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=component_class&amp;rev=1692100167&amp;do=diff</link>
        <description>Component class

The component class is a base UI class providing a close binding between PHP and Javascript. The class is intended to be subclassed.

Simple component

In order to create a new, simple component just override the renderContent-function, such as:</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=connectormicrobizz_class&amp;rev=1574804443&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-26T21:40:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>connectormicrobizz_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=connectormicrobizz_class&amp;rev=1574804443&amp;do=diff</link>
        <description>ConnectorMicrobizz class

This connector is designed to connect to the Microbizz system, query the API and display information in Microbizz. 

The integration is designed so one can initiate a link between Microbizz and your platform application, so that your application can read and write data to Microbizz and display information in the Microbizz system.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=database_class&amp;rev=1576964993&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-12-21T21:49:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>database_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=database_class&amp;rev=1576964993&amp;do=diff</link>
        <description>Database class

This provides all database connectivity to MySQL.

Setting up

All configuration of databases are done in the config.php file, where the following directives needs to be set.
global_database_serverThe host name of the global database server</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=datarecord_class&amp;rev=1707925863&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-14T15:51:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>datarecord_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=datarecord_class&amp;rev=1707925863&amp;do=diff</link>
        <description>Datarecord class

The Datarecord class is one of the core classes of Platform, as it allows you to create highly flexible objects that are easily stored in a database. 

You can look for the Templateclass class which provides a blueprint for your own Datarecord class and can easily be altered to your own purpose. The Templateclass is meant as an example file, so you shouldn&#039;t subclass it, but just copy and rename it.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=datarecordextensible_class&amp;rev=1572501771&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T06:02:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>datarecordextensible_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=datarecordextensible_class&amp;rev=1572501771&amp;do=diff</link>
        <description>DatarecordExtensible class

The DatarecordExtension class is a special type of Datarecord which allow the user (or the software) to dynamically change the fields of the object.

If the Datarecord represents a car in a car database, the DatarecordExtension allows the user to customize the object with her own fields such as</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=datarecordextensiblefield_class&amp;rev=1572502073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T06:07:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>datarecordextensiblefield_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=datarecordextensiblefield_class&amp;rev=1572502073&amp;do=diff</link>
        <description>DatarecordExtensibleField class

This class describes the extra fields for DatarecordExtensible objects, and can render an interface for editing these fields


DatarecordExtensibleField::renderEditComplexForClass(&#039;MyClass&#039;);</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=design_class&amp;rev=1572500950&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T05:49:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>design_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=design_class&amp;rev=1572500950&amp;do=diff</link>
        <description>Design class

The design class helps with basic page structure such as outputting the html, head and body-tag, and include everything needed for Platform to work.

To render a page, simply do this:


&lt;?php
Design::renderPagestart(&#039;Hello world&#039;);
echo &#039;&lt;h1&gt;Hello world&lt;/h1&gt;&#039;;
Design::renderPageend();</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=dialog_class&amp;rev=1615403340&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-10T19:09:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dialog_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=dialog_class&amp;rev=1615403340&amp;do=diff</link>
        <description>Dialog class

The Dialog class is an abstract of the Jquery dialog and can be used to quickly prepare a dialog from the PHP side for quickly use in javascript.

To create a dialog, to the following:


$dialog = new Dialog(&#039;mydialog&#039;, &#039;Hello World&#039;, &#039;This is my hello world dialog&#039;, [&#039;ok_event&#039; =&gt; &#039;Ok&#039;, &#039;cancel_event&#039; =&gt; &#039;Cancel&#039;]);

$dialog-&gt;render();</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=errorhandler_class&amp;rev=1613422573&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-15T20:56:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>errorhandler_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=errorhandler_class&amp;rev=1613422573&amp;do=diff</link>
        <description>Errorhandler class

Platform utilises a custom error handler, and a custom shutdown function that ensures that all semaphores are released on script end.

There are also some utility functions for debugging code.

Typechecking

To introduce semi-strict type checking on functions, the class introduces the</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=extensiblefield_class&amp;rev=1619442928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-26T13:15:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>extensiblefield_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=extensiblefield_class&amp;rev=1619442928&amp;do=diff</link>
        <description>ExtensibleField class

This class describes the extra fields for DatarecordExtensible objects, and can render an interface for editing these fields


DatarecordExtensibleField::renderEditComplexForClass(&#039;MyClass&#039;);</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=field_class&amp;rev=1653302491&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-23T10:41:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>field_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=field_class&amp;rev=1653302491&amp;do=diff</link>
        <description>Field* class

The Field* complex of classes are all different input fields to insert into a Form. There are both simple fields and more complex fields.

Base class

The base class is named Field and provides the basis for other form fields. The constructor for a form field looks like:</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=fieldcomponent_class&amp;rev=1669814540&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-11-30T13:22:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fieldcomponent_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=fieldcomponent_class&amp;rev=1669814540&amp;do=diff</link>
        <description>FieldComponent class

This component class can be subclassed to create components that can be used as form fields.

The component is very simple to use. It introduces two component properties called name and value, which contains the name and the value from the form field.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=file_class&amp;rev=1572503018&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T06:23:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>file_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=file_class&amp;rev=1572503018&amp;do=diff</link>
        <description>File class

When an instance is created, it is created with a file storage, which can be accessed through the File class.

A file can be added to the store like:


$file = new File();
$file-&gt;folder = &#039;Myfolder&#039;;
$file-&gt;attachFile(&#039;/tmp/realfile.txt&#039;);
$file-&gt;save();
echo &#039;File saved with ID: &#039;.$file-&gt;file_id;</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=filter_class&amp;rev=1596800146&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-08-07T11:35:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>filter_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=filter_class&amp;rev=1596800146&amp;do=diff</link>
        <description>Filter class

The filter class is used as an easy and high performance way of retrieving Datarecords.

A filter is constructed by naming which class we want to filter


$filter = new Filter(&#039;User&#039;);


Then one or more conditions can be added:


$filter-&gt;addCondition(new ConditionMatch(&#039;lastname&#039;, &#039;sahl&#039;));</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=form_class&amp;rev=1615491848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-11T19:44:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>form_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=form_class&amp;rev=1615491848&amp;do=diff</link>
        <description>Form class

The form class takes care of html form input, by both rendering forms and setting/receiving form input.

Form rendering

A form is rendered by first configuring the form object and then rendering it.


$form = new Form(&#039;form_id&#039;);
$form-&gt;addField(new FieldText(&#039;Type something&#039;, &#039;field_title&#039;));
$form-&gt;addField(new FieldSubmit(&#039;Save form&#039;, &#039;save_form&#039;));
$form-&gt;render();</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=getting_started&amp;rev=1707920208&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-14T14:16:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>getting_started</title>
        <link>https://wiki.platform4php.dk/doku.php?id=getting_started&amp;rev=1707920208&amp;do=diff</link>
        <description>Getting started with Platform

Background

Platform is a fullstack PHP framework designed for database-dependent applications, with a closely tie between PHP objects and objects in databases. The frontend part is based on JQuery, but can be skipped entirely or integrated with other more complex frameworks.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=hello_world&amp;rev=1700297162&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-18T08:46:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hello_world</title>
        <link>https://wiki.platform4php.dk/doku.php?id=hello_world&amp;rev=1700297162&amp;do=diff</link>
        <description>Hello World

Here is an example of Hello World in Platform4PHP.


&lt;?php
echo &quot;Hello World&quot;;


I have seen many frameworks for PHP where the hello world example is several pages long, because you need to understand several complex concepts just to get started.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=instance_class&amp;rev=1581543031&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-12T21:30:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>instance_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=instance_class&amp;rev=1581543031&amp;do=diff</link>
        <description>Instance class

The instance class is the base class of an application build on Platform, and typically the application either consists of a single instance which have been pre-initiated or of several instances which are initialized when requested.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=integrated_software&amp;rev=1613047829&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-11T12:50:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>integrated_software</title>
        <link>https://wiki.platform4php.dk/doku.php?id=integrated_software&amp;rev=1613047829&amp;do=diff</link>
        <description>Integrated software

The following software-packages and libraries are used in Platform.

	*  Jquery Write less, do more. Licensed under MIT.
	*  Font Awesome. Licensed under MIT.
	*  PHPMailer. Licensed under GNU LESSER GENERAL PUBLIC LICENSE (2.1)
	*  Tabulator  Complex tables, simple code</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=job_class&amp;rev=1687851058&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-27T07:30:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>job_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=job_class&amp;rev=1687851058&amp;do=diff</link>
        <description>Job class

The Job class is a structure for scheduling and performing background jobs in Platform. In order for the Job class to work, one must set up a cronjob running /Platform/Job/php/scheduler.php every minute.
The Job class depends on running in a Linux environment with commands such as</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=log_class&amp;rev=1572503564&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T06:32:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>log_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=log_class&amp;rev=1572503564&amp;do=diff</link>
        <description>Log class

The log class is used to create different kinds of logs. A log is created like:


$log = new Log(&#039;MyLog&#039;, array(&#039;20&#039;, &#039;10r&#039;), &#039;autodetect&#039;);


The first parameter is the log name, which makes up part of the log file name. The next (optional) parameter is the log format, and this indicates that the log should consist of two columns. The first should be 20 characters wide and the next should be 10 characters wide, and right-aligned.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=menu_class&amp;rev=1576964126&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-12-21T21:35:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>menu_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=menu_class&amp;rev=1576964126&amp;do=diff</link>
        <description>Menu class

The menu class is a subclass of Component specialized in rendering menus. It have two buildin subclasses MenuButton and MenuTop

It have an internal array $elements which holds all menu titles hashed by their URL&#039;s. Instead of a menu title, an element can also be another array, indicating a submenu. Example:</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=naming_conventions&amp;rev=1709211414&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-29T12:56:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>naming_conventions</title>
        <link>https://wiki.platform4php.dk/doku.php?id=naming_conventions&amp;rev=1709211414&amp;do=diff</link>
        <description>Naming conventions

This is the internal naming convention for Platform.

PHP

Classes and Objects

Classes are named with CamelCase and in singular case, so we have User and not Users

Objects are named in lowercase and with _ between words, so:

$user_property = new UserProperty();</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=page_class&amp;rev=1615402562&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-10T18:56:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>page_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=page_class&amp;rev=1615402562&amp;do=diff</link>
        <description>Page class

The page class is responsible for basic output of a HTML page. To output a basic HTML page do the following:


Page::renderPagestart(&#039;Hello world&#039;);

echo &#039;Hello world&#039;;

Page::renderPageend();


Scripts and CSS

To include scripts and css on the pages use the</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=roadmap&amp;rev=1700305696&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-18T11:08:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>roadmap</title>
        <link>https://wiki.platform4php.dk/doku.php?id=roadmap&amp;rev=1700305696&amp;do=diff</link>
        <description>Roadmap

Major

Single-instance Platform

Each instance should have own path and own database (Breaking)

There shouldn&#039;t be a central main server, but the coordination should be in place at each server (Breaking)

Custom field types for Datarecord</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=server_class&amp;rev=1581543221&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-12T21:33:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>server_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=server_class&amp;rev=1581543221&amp;do=diff</link>
        <description>Server class

The server class is used to manage the servers on which the Platform4PHP application run off. The framework is built to stretch over several servers, with each server holding one or more instances.

The available servers can be maintained on the following</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=servers&amp;rev=1619443644&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-26T13:27:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>servers</title>
        <link>https://wiki.platform4php.dk/doku.php?id=servers&amp;rev=1619443644&amp;do=diff</link>
        <description>Platform related servers
ServerContentbasic.platform4php.dk  Basic Platform installationpeople.platform4php.dk  The people demodemo.platform4php.dk Bizzcompazz projectwiki.platform4php.dk  This wikidoc.platform4php.dk  Autogenerated documentationwww.platform4php.dk  Main site (empty)</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=start&amp;rev=1697214719&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-10-13T16:31:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://wiki.platform4php.dk/doku.php?id=start&amp;rev=1697214719&amp;do=diff</link>
        <description>Platform

Hello world

Integrated software

Getting started

Naming conventions

Classes

Tutorials

Todo

Servers

Roadmap</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.1_preparing_the_database&amp;rev=1605127372&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-11T20:42:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.1_preparing_the_database</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.1_preparing_the_database&amp;rev=1605127372&amp;do=diff</link>
        <description>Preparing the database

Platform4PHP uses the MySQL database. There are two steps for preparing the database. First we need to create the global database, and if we want to use the full capabilities of Platform4PHP&#039;s ability to work with instances, we also need a database user that is allowed to create new databases.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.2_preparing_folders&amp;rev=1605128647&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-11T21:04:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.2_preparing_folders</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.2_preparing_folders&amp;rev=1605128647&amp;do=diff</link>
        <description>Preparing folders

Platform4PHP needs three separate directories. A log directory, a temporary directory and a storage directory, all with full permissions for both the web server user and the cron job user (more about this later). 

The log directory is for common logs, the temporary directory is for temporary files and the storage directory is used for all file storage, for example when uploading and storing files.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.3_installing_platform4php&amp;rev=1605131288&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-11T21:48:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.3_installing_platform4php</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.3_installing_platform4php&amp;rev=1605131288&amp;do=diff</link>
        <description>Installing Platform4PHP

Just copy the entire distribution into your website folder. Be aware that Platform4PHP creates a configuration file in the parent folder of the website root, so be sure your folder configuration can handle this.

I have configured the site at</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.4_instances_instance_server&amp;rev=1605366534&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-14T15:08:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.4_instances_instance_server</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.4_instances_instance_server&amp;rev=1605366534&amp;do=diff</link>
        <description>Instances and servers

Platform4PHP is intended as a multi-instance platform, where each instance is a copy of the application with its own database and own file storage. Platform4PHP supports multiple servers naturally, but works perfectly on a single server.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.5_creating_user_registration_and_login_form_field&amp;rev=1615406601&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-10T20:03:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.5_creating_user_registration_and_login_form_field</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.5_creating_user_registration_and_login_form_field&amp;rev=1615406601&amp;do=diff</link>
        <description>User registration and login

Now we want to make the user able to register in our application, which should generate a new instance they can use for their company and create a user they can use to login to the application.

For easy usage of forms, we have a</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.6_managing_security_user_accesstoken&amp;rev=1613109022&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-12T05:50:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.6_managing_security_user_accesstoken</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.6_managing_security_user_accesstoken&amp;rev=1613109022&amp;do=diff</link>
        <description>Managing security

Once inside your application, you need to make sure that only users that are logged in, have access. This is very easily accomplished by:


\Platform\Accesstoken::validateSession(&#039;/login/&#039;);


This validate the user session and extends it for a period of time. If the session cannot be validated the user is returned to the given</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.7_creating_a_data_structure_for_employees_and_departments_datarecord&amp;rev=1615409241&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-10T20:47:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.7_creating_a_data_structure_for_employees_and_departments_datarecord</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.7_creating_a_data_structure_for_employees_and_departments_datarecord&amp;rev=1615409241&amp;do=diff</link>
        <description>Datarecords

The Datarecord class is the most central object in Platform and therefore it is imperative to understand it. It is used to create most or all data objects used in your application.

In this tutorial we will use it to build a Department object representing the departments in our company and a Employee object representing the employees working in the different departments.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.8_validating_datarecord_objects_and_some_notes_about_deletions_datarecord&amp;rev=1615410933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-10T21:15:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.8_validating_datarecord_objects_and_some_notes_about_deletions_datarecord</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.8_validating_datarecord_objects_and_some_notes_about_deletions_datarecord&amp;rev=1615410933&amp;do=diff</link>
        <description>Datarecord validation

This chapter is a little intermezzo and you can continue to the next chapter if you are eager to keep building the application.

In order to keep performance of Platform at a maximum, internal object integrity isn&#039;t performed when using Datarecord objects, so if you forget anything in the definition or link something wrong together, this will most likely cause an error. For debug purposes Datarecord therefore contains a function called renderIntegrityCheck which will valid…</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.9_creating_a_user_interface_for_the_data_datarecordeditcomplex&amp;rev=1615444509&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-11T06:35:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.9_creating_a_user_interface_for_the_data_datarecordeditcomplex</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.9_creating_a_user_interface_for_the_data_datarecordeditcomplex&amp;rev=1615444509&amp;do=diff</link>
        <description>Interfaces for managing data

This is actually really easy.

On our page for managing departments, we do this:


Department::renderEditComplex();


...and on our page for managing employees, we do this:


Employees::renderEditComplex();


This renders a DatarecordEditComplex which is a complete interface for managing data of the designed type.</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.10_creating_an_interface_for_searching_data_filter_condition&amp;rev=1615493041&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-11T20:04:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.10_creating_an_interface_for_searching_data_filter_condition</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.10_creating_an_interface_for_searching_data_filter_condition&amp;rev=1615493041&amp;do=diff</link>
        <description>Creating a search interface

Now we will create a search function for searching through employees. Here we will introduce filters which is another powerful feature of Platform. But first lets spice things up a little.

To make our Employee object a little more interesting, we add an age property, by extending the array in</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=t1.11_adding_a_profile_picture_file&amp;rev=1615494048&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-11T20:20:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>t1.11_adding_a_profile_picture_file</title>
        <link>https://wiki.platform4php.dk/doku.php?id=t1.11_adding_a_profile_picture_file&amp;rev=1615494048&amp;do=diff</link>
        <description>Adding a profile picture

We now want to be able to add profile pictures of the employees. This is also one of the really easy ones.

We once again extends the Employee object, by adding to the buildStructure() function:


  ...
  &#039;profile_pic&#039; =&gt; array(
    &#039;label&#039; =&gt; &#039;Profile picture&#039;,
    &#039;fieldtype&#039; =&gt; self::FIELDTYPE_IMAGE,
    &#039;folder&#039; =&gt; &#039;profile_pictures&#039;
  ),
  ...</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=table_class&amp;rev=1616102416&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-18T21:20:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>table_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=table_class&amp;rev=1616102416&amp;do=diff</link>
        <description>Table class

Table is a PHP wrapper for the Tabulator javascript library, based of the Component class.

A basic table

The most basic table is created like:


$table = new Table();
// The setTabulatorOption function is used to pass options to the javascript tabulator function.
$table-&gt;setTabulatorOption(&#039;ajaxUrl&#039;, &#039;/url-to-fetch-data&#039;);
$table-&gt;setTabulatorOption(&#039;columns&#039;, array(some column data));
// This renders the necessary html 
$table-&gt;render();</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=time_class&amp;rev=1598966334&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-01T13:18:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>time_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=time_class&amp;rev=1598966334&amp;do=diff</link>
        <description>Time class

The time class provides an abstraction on top of PHP date functions, providing easier functions and handling of time zones.


$timestamp = new Timestamp(&#039;now&#039;);
$timestamp-&gt;add(0,0,1);
echo &#039;In one hour the time is: &#039;.$timestamp-&gt;getReadable();</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=todo&amp;rev=1623134567&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-08T06:42:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>todo</title>
        <link>https://wiki.platform4php.dk/doku.php?id=todo&amp;rev=1623134567&amp;do=diff</link>
        <description>Todo

General

	*  Google Graphs class
	*  Administrator panel

Datarecord

	*  Handle nested deletion of hyper-references

Errorhandler

	*  Timing

Filter

Form

	*  Better javascript adding of form values, especially regarding multipliers.

Job

	*</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=tutorials&amp;rev=1615409129&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-10T20:45:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tutorials</title>
        <link>https://wiki.platform4php.dk/doku.php?id=tutorials&amp;rev=1615409129&amp;do=diff</link>
        <description>Building a company HR application

In this tutorial I will build a complete company HR application using Platform4PHP. I hope to illustrate just how easy it is to get from idea to realization using Platform4PHP.

The working title for this application is</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=type_class&amp;rev=1714485559&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-30T13:59:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>type_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=type_class&amp;rev=1714485559&amp;do=diff</link>
        <description>Type Class

The type class is used to describe data types for Datarecord objects. Platform has a large number of builtin types.
 Type                  SQL                 Null? Form field                  PHP                    AddressType           Uses subfields</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=user_class&amp;rev=1581542293&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-12T21:18:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>user_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=user_class&amp;rev=1581542293&amp;do=diff</link>
        <description>User class

The user class represents users in an instance and can be used for logging in, and keeping track of users. It is used along with Accesstoken which keeps track on valid access and UserProperty which can easily store information related to a given user.

The only thing special with the User class is the</description>
    </item>
    <item rdf:about="https://wiki.platform4php.dk/doku.php?id=userproperty_class&amp;rev=1572008335&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-25T12:58:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>userproperty_class</title>
        <link>https://wiki.platform4php.dk/doku.php?id=userproperty_class&amp;rev=1572008335&amp;do=diff</link>
        <description>UserProperty class

The user property provides an easy way to store some information related to a user. The concept is that information is stored as properties and subproperties, where each is just a keyword, so to store some information for the current user:</description>
    </item>
</rdf:RDF>
