forked from hamstar/Create_KML
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
added XML_KML_Common, extended _Place,_Style, fixed up XML_KML_Create
- Loading branch information
Showing
4 changed files
with
61 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
/** | ||
* Create a KML file | ||
* | ||
* Class for creating a KML file from a data source | ||
* and outputing it to either a file or string | ||
* | ||
* PHP version 5 | ||
* | ||
* @category XML | ||
* @package Create_KML | ||
* @author Robert McLeod <hamstar@telescum.co.nz> | ||
* @copyright 2009 Robert McLeod | ||
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 | ||
* @version SVN: 1.0 | ||
* @link ?? | ||
* | ||
*/ | ||
|
||
/** | ||
* Class to define a style to be added to the KML class | ||
* | ||
* @category XML | ||
* @package Create_KML | ||
* @author Robert McLeod <hamstar@telescum.co.nz> | ||
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 | ||
* @link ?? | ||
*/ | ||
class XML_KML_Common | ||
{ | ||
/** | ||
* Destructor | ||
* | ||
*/ | ||
function __destruct() | ||
{ | ||
// Destory all values | ||
foreach ($this as &$v) { | ||
$v = null; | ||
} | ||
} | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters