+++ /dev/null
-<?php\r
-/**\r
-* Exports the data of a module as an xml document\r
-*\r
-* @author Ulf Wendel <ulf.wendel@phpdoc.de>\r
-* @version 1.0\r
-*/\r
-class PhpdocXMLModuleExporter extends PhpdocXMLDocumentExporter {\r
- \r
- /**\r
- * Module container attributes\r
- * @var array $moduleAttributes\r
- */\r
- var $moduleAttributes = array(\r
- "name" => "CDATA",\r
- "group" => "CDATA",\r
- "undoc" => "Boolean",\r
- "access" => "CDATA",\r
- "package" => "CDATA"\r
- );\r
-\r
- var $fileprefix = "module_";\r
- \r
- function PhpdocXMLModuleExporter() {\r
- $this->PhpdocXMLExporter(); \r
- } // end constructor\r
- \r
- function create() {\r
- \r
- $attribs = $this->getAttributes($this->result, $this->moduleAttributes); \r
- $this->xmlwriter->startElement("module", "", $attribs);\r
- \r
- $this->filenameXML($this->result["filename"]);\r
- \r
- $this->docXML($this->result); \r
- \r
- if (isset($this->result["functions"]))\r
- $this->functionsXML($this->result["functions"]);\r
- \r
- if (isset($this->result["uses"]))\r
- $this->usesXML($this->result["uses"]);\r
- \r
- if (isset($this->result["consts"]))\r
- $this->constsXML($this->result["consts"]);\r
- \r
- $this->xmlwriter->endElement("module", true);\r
- \r
- } // end func create\r
- \r
-} // end class PhpdocXMLModuleExporter\r
-?>
\ No newline at end of file