Console

A php console environment to test PAK classes and methods

Description

This page is used to test PAK - the Php Api for Kml library of classes and methods. View class documentation here.
Simply wite your PHP code using PAK objects and methods below in the ‘Input’ field and click [Submit] to see the resulting kml output.
An instance of KML with a Document, "$document" has already been created.
A simple example is displayed, creating a Folder named ‘Features’.

PAK Input:

$kml = new KML;
$document = $kml->createAndSetDocument();

KML Output