Drupal modules for browsing and managing Fedora-based digital repositories.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

602 lines
21 KiB

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs For Class ModsFormBuilder</title>
<link rel="stylesheet" href="../../media/stylesheet.css" />
<script src="../../media/lib/classTree.js"></script>
<script language="javascript" type="text/javascript">
var imgPlus = new Image();
var imgMinus = new Image();
imgPlus.src = "../../media/images/plus.png";
imgMinus.src = "../../media/images/minus.png";
function showNode(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
var oImg = document.layers["img" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
var oImg = document.all["img" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
var oImg = document.getElementById("img" + Node);
break;
}
oImg.src = imgMinus.src;
oTable.style.display = "block";
}
function hideNode(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
var oImg = document.layers["img" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
var oImg = document.all["img" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
var oImg = document.getElementById("img" + Node);
break;
}
oImg.src = imgPlus.src;
oTable.style.display = "none";
}
function nodeIsVisible(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
break;
}
return (oTable && oTable.style.display == "block");
}
function toggleNodeVisibility(Node){
if (nodeIsVisible(Node)){
hideNode(Node);
}else{
showNode(Node);
}
}
</script>
</head>
<body>
<div class="page-body">
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
alt=" Class"
title=" Class"
style="vertical-align: middle"> ModsFormBuilder</h2>
<a name="sec-description"></a>
<div class="info-box">
<div class="info-box-title">Description</div>
<div class="nav-bar">
<span class="disabled">Description</span> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<!-- ========== Info from phpDoc block ========= -->
<p class="notes">
Located in <a class="field" href="_plugins---ModsFormBuilder.inc.html">/plugins/ModsFormBuilder.inc</a> (line <span class="field">12</span>)
</p>
<pre><a href="../../Islandora/plugins/FormBuilder.html">FormBuilder</a>
|
--ModsFormBuilder</pre>
</div>
</div>
<a name="sec-var-summary"></a>
<div class="info-box">
<div class="info-box-title">Variable Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<div class="var-summary">
<div class="var-title">
<img src="../../media/images/StaticVariable.png" alt=" " />
static <span class="var-type">mixed</span>
<a href="#$MODS_NS" title="details" class="var-name">$MODS_NS</a>
</div>
<div class="var-title">
<img src="../../media/images/Variable.png" alt=" " />
<span class="var-type">mixed</span>
<a href="#$cm" title="details" class="var-name">$cm</a>
</div>
<div class="var-title">
<img src="../../media/images/Variable.png" alt=" " />
<span class="var-type">mixed</span>
<a href="#$item" title="details" class="var-name">$item</a>
</div>
<div class="var-title">
<img src="../../media/images/Variable.png" alt=" " />
<span class="var-type">mixed</span>
<a href="#$pid" title="details" class="var-name">$pid</a>
</div>
</div>
</div>
</div>
<a name="sec-method-summary"></a>
<div class="info-box">
<div class="info-box-title">Method Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<div class="method-summary">
<div class="method-definition">
<img src="../../media/images/Constructor.png" alt=" "/>
<span class="method-result">ModsFormBuilder</span>
<a href="#__construct" title="details" class="method-name">__construct</a>
([<span class="var-type"></span>&nbsp;<span class="var-name">$pid</span> = <span class="var-default">null</span>])
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#buildEditMetadataForm" title="details" class="method-name">buildEditMetadataForm</a>
()
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#createCollectionPolicy" title="details" class="method-name">createCollectionPolicy</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rootElement</span>)
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#createModsStream" title="details" class="method-name">createModsStream</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rootElement</span>)
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#createWorkflowStream" title="details" class="method-name">createWorkflowStream</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rootElement</span>)
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#handleEditMetadataForm" title="details" class="method-name">handleEditMetadataForm</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">&$form_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$soap_client</span>)
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#handleModsForm" title="details" class="method-name">handleModsForm</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">&$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$form_state</span>)
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#modsFromForm" title="details" class="method-name">modsFromForm</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">&$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>)
</div>
</div>
</div>
</div>
<a name="sec-vars"></a>
<div class="info-box">
<div class="info-box-title">Variables</div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<a name="var$MODS_NS" id="$MODS_NS"><!-- --></A>
<div class="evenrow">
<div class="var-header">
<img src="../../media/images/StaticVariable.png" />
<span class="var-title">
static <span class="var-type">mixed</span>
<span class="var-name">$MODS_NS</span>
= <span class="var-default"> 'http://www.loc.gov/mods/v3'</span> (line <span class="line-number">13</span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
</div>
<a name="var$cm" id="$cm"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<img src="../../media/images/Variable.png" />
<span class="var-title">
<span class="var-type">mixed</span>
<span class="var-name">$cm</span>
(line <span class="line-number">14</span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> protected</li>
</ul>
</div>
<a name="var$item" id="$item"><!-- --></A>
<div class="evenrow">
<div class="var-header">
<img src="../../media/images/Variable.png" />
<span class="var-title">
<span class="var-type">mixed</span>
<span class="var-name">$item</span>
(line <span class="line-number">15</span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> protected</li>
</ul>
</div>
<a name="var$pid" id="$pid"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<img src="../../media/images/Variable.png" />
<span class="var-title">
<span class="var-type">mixed</span>
<span class="var-name">$pid</span>
(line <span class="line-number">16</span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> protected</li>
</ul>
</div>
</div>
</div>
<a name="sec-methods"></a>
<div class="info-box">
<div class="info-box-title">Methods</div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
</div>
<div class="info-box-body">
<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<img src="../../media/images/Constructor.png" />
<span class="method-title">Constructor __construct</span> (line <span class="line-number">18</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">ModsFormBuilder</span>
<span class="method-name">
__construct
</span>
([<span class="var-type"></span>&nbsp;<span class="var-name">$pid</span> = <span class="var-default">null</span>])
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">$pid</span> </li>
</ul>
</div>
<a name="methodbuildEditMetadataForm" id="buildEditMetadataForm"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">buildEditMetadataForm</span> (line <span class="line-number">45</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
buildEditMetadataForm
</span>
()
</div>
</div>
<a name="methodcreateCollectionPolicy" id="createCollectionPolicy"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">createCollectionPolicy</span> (line <span class="line-number">309</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
createCollectionPolicy
</span>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rootElement</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">$form_values</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$dom</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$rootElement</span> </li>
</ul>
</div>
<a name="methodcreateModsStream" id="createModsStream"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">createModsStream</span> (line <span class="line-number">367</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
createModsStream
</span>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rootElement</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">$form_values</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$dom</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$rootElement</span> </li>
</ul>
</div>
<a name="methodcreateWorkflowStream" id="createWorkflowStream"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">createWorkflowStream</span> (line <span class="line-number">338</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
createWorkflowStream
</span>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$rootElement</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">$form_values</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$dom</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$rootElement</span> </li>
</ul>
</div>
<a name="methodhandleEditMetadataForm" id="handleEditMetadataForm"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">handleEditMetadataForm</span> (line <span class="line-number">32</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
handleEditMetadataForm
</span>
(<span class="var-type"></span>&nbsp;<span class="var-name">&$form_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$soap_client</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">&$form_id</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$form_values</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$soap_client</span> </li>
</ul>
</div>
<a name="methodhandleModsForm" id="handleModsForm"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">handleModsForm</span> (line <span class="line-number">240</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
handleModsForm
</span>
(<span class="var-type"></span>&nbsp;<span class="var-name">&$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$form_state</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">&$form_values</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$form_state</span> </li>
</ul>
</div>
<a name="methodmodsFromForm" id="modsFromForm"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">modsFromForm</span> (line <span class="line-number">388</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
modsFromForm
</span>
(<span class="var-type"></span>&nbsp;<span class="var-name">&$form_values</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$dom</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">&$form_values</span> </li>
<li>
<span class="var-type"></span>
<span class="var-name">&$dom</span> </li>
</ul>
</div>
<h4>Inherited Methods</h4>
<a name='inherited_methods'><!-- --></a>
<!-- =========== Summary =========== -->
<p>Inherited From <span class="classname"><a href="../../Islandora/plugins/FormBuilder.html">FormBuilder</a></span></p>
<blockquote>
<img src="../../media/images/Constructor.png" alt=" "/>
<span class="method-name"><a href="../../Islandora/plugins/FormBuilder.html#methodFormBuilder">FormBuilder::FormBuilder()</a></span><br>
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-name"><a href="../../Islandora/plugins/FormBuilder.html#methodbuildQDCForm">FormBuilder::buildQDCForm()</a></span><br>
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-name"><a href="../../Islandora/plugins/FormBuilder.html#methodcreateFedoraDataStreams">FormBuilder::createFedoraDataStreams()</a></span><br>
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-name"><a href="../../Islandora/plugins/FormBuilder.html#methodcreateQDCStream">FormBuilder::createQDCStream()</a></span><br>
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-name"><a href="../../Islandora/plugins/FormBuilder.html#methodcreateRelationShips">FormBuilder::createRelationShips()</a></span><br>
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-name"><a href="../../Islandora/plugins/FormBuilder.html#methodcreateStandardFedoraStuff">FormBuilder::createStandardFedoraStuff()</a></span><br>
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-name"><a href="../../Islandora/plugins/FormBuilder.html#methodhandleQDCForm">FormBuilder::handleQDCForm()</a></span><br>
</blockquote>
</div>
</div>
<p class="notes" id="credit">
Documentation generated on Thu, 14 Jul 2011 16:29:54 -0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>