aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2011-05-23 22:15:44 +0000
committerDavid <david@xagasoft.com>2011-05-23 22:15:44 +0000
commitd892780456976257e42f342a9fbf8492710f97bf (patch)
treeab31795b684944d537e5f0e0db6865ec69ed8a45
parent4fddcdf30f88a639eb286a9d5eed609d1620b8dc (diff)
downloadlibgats-d892780456976257e42f342a9fbf8492710f97bf.tar.gz
libgats-d892780456976257e42f342a9fbf8492710f97bf.tar.bz2
libgats-d892780456976257e42f342a9fbf8492710f97bf.tar.xz
libgats-d892780456976257e42f342a9fbf8492710f97bf.zip
david - trying out the defined thing
-rw-r--r--php/phpgats.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/php/phpgats.php b/php/phpgats.php
index 68ab82b..d9108da 100644
--- a/php/phpgats.php
+++ b/php/phpgats.php
@@ -1,5 +1,9 @@
1<?php 1<?php
2 2
3if( !defined("phpgats_defined") )
4{
5define("phpgats_defined",1);
6
3/** @mainpage phpgats.php PHP Gats Library 7/** @mainpage phpgats.php PHP Gats Library
4 * @section Notes 8 * @section Notes
5 * 9 *
@@ -749,6 +753,8 @@ function phpgats_parseGats( $str_data )
749 return phpgats_pM( $str_data, $offset ); 753 return phpgats_pM( $str_data, $offset );
750} 754}
751 755
756} //defined("phpgats_defined");
757
752/** 758/**
753 * Call this function to generate a binary gats stream from the given phpgats_Element object 759 * Call this function to generate a binary gats stream from the given phpgats_Element object
754 * @param $elem (phpgats_Element) the gats element object from which to generate a binary blob 760 * @param $elem (phpgats_Element) the gats element object from which to generate a binary blob