cvs: pear /XML_NITF NITF.php
| From: | Patrick O'Lone | Date: | Mon, 17 Jan 2005 23:46:32 +0000 |
| Subject: | cvs: pear /XML_NITF NITF.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-28639@lists.php.net to get a copy of this message | ||
polone Mon Jan 17 18:46:32 2005 EDT
Modified files:
/pear/XML_NITF NITF.php
Log:
NITF 3.0 extension - added per request by Lars Schenk (info@lars-schenk.de). Document urgency
status information.
http://cvs.php.net/diff.php/pear/XML_NITF/NITF.php?r1=1.3&r2=1.4&ty=u
Index: pear/XML_NITF/NITF.php
diff -u pear/XML_NITF/NITF.php:1.3 pear/XML_NITF/NITF.php:1.4
--- pear/XML_NITF/NITF.php:1.3 Mon Nov 29 10:53:07 2004
+++ pear/XML_NITF/NITF.php Mon Jan 17 18:46:32 2005
@@ -16,7 +16,7 @@
// | Authors: Patrick O'Lone <polone@townnews.com> |
// +----------------------------------------------------------------------+
//
-// $Id: NITF.php,v 1.3 2004/11/29 15:53:07 polone Exp $
+// $Id: NITF.php,v 1.4 2005/01/17 23:46:32 polone Exp $
require_once('XML/Parser.php');
@@ -32,7 +32,7 @@
* Note that not all elements of this standard are not supported.
*
* @author Patrick O'Lone <polone@townnews.com>
-* @version $Revision: 1.3 $
+* @version $Revision: 1.4 $
* @package XML
*/
class XML_NITF extends XML_Parser
@@ -513,6 +513,13 @@
case 'DOC-ID':
$this->m_kDocData['doc-id'] = $kAttrib['ID-STRING'];
break;
+
+ // NITF 3.0 extension - added per request by Lars Schenk
+ // (info@lars-schenk.de). Document urgency status information.
+
+ case 'URGENCY':
+ $this->m_kDocData['urgency'] = $kAttrib['ED-URG'];
+ break;
// The list of keywords or phrases are just added to the array of
// keywords.