Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Place the manifest reading into a separate utility method

git-svn-id: http://svn.php.net/repository/pear/packages/File_Infopath/trunk@253904 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 5b993cd1f933445773dc53fcbcc6aadb8ad1529c 1 parent 58cedd0
David Sanders authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 Infopath.php
View
12 Infopath.php
@@ -156,6 +156,18 @@ public function __construct($filename)
$this->_cab = new File_Cabinet($filename);
// Read manifest.xsf to obtain information about the form
+ $this->_readManifest();
+ }
+
+ /**
+ * Read some general information about the form: Root element, views and submit
+ * information.
+ *
+ * @access private
+ * @return void
+ */
+ private function _readManifest()
+ {
$manifest = new DOMDocument;
$manifest->loadXML($this->_cab->extract('manifest.xsf'));
Please sign in to comment.
Something went wrong with that request. Please try again.