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.
 
 
 
 

434 lines
16 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 DarwinCore</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"> DarwinCore</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---DarwinCore.inc.html">/plugins/DarwinCore.inc</a> (line <span class="field">9</span>)
</p>
<pre></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/Variable.png" alt=" " />
<span class="var-type">mixed</span>
<a href="#$darwinCoreXML" title="details" class="var-name">$darwinCoreXML</a>
</div>
<div class="var-title">
<img src="../../media/images/Variable.png" alt=" " />
<span class="var-type">mixed</span>
<a href="#$dwcFields" title="details" class="var-name">$dwcFields</a>
</div>
<div class="var-title">
<img src="../../media/images/Variable.png" alt=" " />
<span class="var-type">mixed</span>
<a href="#$vocabulary" title="details" class="var-name">$vocabulary</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">DarwinCore</span>
<a href="#__construct" title="details" class="method-name">__construct</a>
([<span class="var-type"></span>&nbsp;<span class="var-name">$item</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="#asHTML" title="details" class="method-name">asHTML</a>
()
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#asXML" title="details" class="method-name">asXML</a>
()
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#buildDrupalForm" title="details" class="method-name">buildDrupalForm</a>
([<span class="var-type"></span>&nbsp;<span class="var-name">$form</span> = <span class="var-default">array()</span>])
</div>
<div class="method-definition">
<img src="../../media/images/Method.png" alt=" "/>
<span class="method-result">void</span>
<a href="#handleForm" title="details" class="method-name">handleForm</a>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</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$darwinCoreXML" id="$darwinCoreXML"><!-- --></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">$darwinCoreXML</span>
= <span class="var-default"> '<br />&lt;SimpleDarwinRecordSet xmlns=&quot;http://rs.tdwg.org/dwc/xsd/simpledarwincore/&quot; xmlns:dc=&quot;http://purl.org/dc/terms/&quot; xmlns:dwc=&quot;http://rs.tdwg.org/dwc/terms/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://rs.tdwg.org/dwc/xsd/simpledarwincore/ http://rs.tdwg.org/dwc/xsd/tdwg_dwc_simple.xsd&quot;&gt;<br /> &lt;SimpleDarwinRecord&gt;<br /> &lt;dc:type&gt;&lt;/dc:type&gt;<br /> &lt;dc:language&gt;en&lt;/dc:language&gt;<br /> &lt;dwc:basisOfRecord&gt;&lt;/dwc:basisOfRecord&gt;<br /> &lt;dwc:scientificName&gt;&lt;/dwc:scientificName&gt;<br /> &lt;dwc:specificEpithet&gt;&lt;/dwc:specificEpithet&gt;<br /> &lt;dwc:family&gt;&lt;/dwc:family&gt;<br /> &lt;dwc:genus&gt;&lt;/dwc:genus&gt;<br /> &lt;dwc:vernacularName&gt;&lt;/dwc:vernacularName&gt;<br /> &lt;dwc:continent&gt;&lt;/dwc:continent&gt;<br /> &lt;dwc:country&gt;&lt;/dwc:country&gt;<br /> &lt;dwc:countryCode&gt;&lt;/dwc:countryCode&gt;<br /> &lt;dwc:stateProvince&gt;&lt;/dwc:stateProvince&gt;<br /> &lt;dwc:county&gt;&lt;/dwc:county&gt;<br /> &lt;dwc:locality&gt;&lt;/dwc:locality&gt;<br /> &lt;dwc:habitat&gt;&lt;/dwc:habitat&gt;<br /> &lt;dwc:occurrenceRemarks&gt;&lt;/dwc:occurrenceRemarks&gt;<br /> &lt;dwc:occurrenceID&gt;&lt;/dwc:occurrenceID&gt;<br /> &lt;dwc:institutionCode&gt;&lt;/dwc:institutionCode&gt;<br /> &lt;dwc:collectionCode&gt;&lt;/dwc:collectionCode&gt;<br /> &lt;dwc:catalogNumber&gt;&lt;/dwc:catalogNumber&gt;<br /> &lt;dwc:recordedBy&gt;&lt;/dwc:recordedBy&gt;<br /> &lt;dwc:eventDate&gt;&lt;/dwc:eventDate&gt;<br /> &lt;dwc:eventTime&gt;&lt;/dwc:eventTime&gt;<br /> &lt;/SimpleDarwinRecord&gt;<br />&lt;/SimpleDarwinRecordSet&gt;'</span> (line <span class="line-number">292</span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
</div>
<a name="var$dwcFields" id="$dwcFields"><!-- --></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">$dwcFields</span>
= <span class="var-default">array(<br /> 'dc:type',<br /> 'dc:language',<br /> 'dwc:basisofrecord',<br /> 'dwc:scientificName',<br /> 'dwc:specificName',<br /> 'dwc:family',<br /> 'dwc:genus',<br /> 'dwc:vernacularName',<br /> 'dwc:continent',<br /> 'dwc:country',<br /> 'dwc:countryCode',<br /> 'dwc:stateProvince',<br /> 'dwc:locality',<br /> 'dwc:habitat',<br /> 'dwc:occurrenceRemarks',<br /> 'dwc:occurrenceID',<br /> 'dwc:institutionCode',<br /> 'dwc:collectionCode',<br /> 'dwc:catalogNumber',<br /> 'dwc:recordedBy',<br /> 'dwc:eventDate',<br /> 'dwc:eventTime',<br /> )</span> (line <span class="line-number">266</span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
</div>
<a name="var$vocabulary" id="$vocabulary"><!-- --></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">$vocabulary</span>
= <span class="var-default">array(<br /> 'basisOfRecord' =&gt; array(<br /> 'Occurrence' =&gt; 'Occurrence',<br /> 'Event' =&gt; 'Event',<br /> 'Location' =&gt; 'Location',<br /> 'Taxon' =&gt; 'Taxon',<br /> 'PreservedSpecimen' =&gt; 'PreservedSpecimen',<br /> 'FossilSpecimen' =&gt; 'FossilSpecimen',<br /> 'LivingSpecimen' =&gt; 'LivingSpecimen',<br /> 'HumanObservation' =&gt; 'HumanObservation',<br /> 'MachineObservation' =&gt; 'MachineObservation',<br /> 'NomenclaturalChecklist' =&gt; 'NomenclaturalChecklist',<br /> ),)</span> (line <span class="line-number">250</span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</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">11</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">DarwinCore</span>
<span class="method-name">
__construct
</span>
([<span class="var-type"></span>&nbsp;<span class="var-name">$item</span> = <span class="var-default">NULL</span>])
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">$item</span> </li>
</ul>
</div>
<a name="methodasHTML" id="asHTML"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">asHTML</span> (line <span class="line-number">219</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
asHTML
</span>
()
</div>
</div>
<a name="methodasXML" id="asXML"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">asXML</span> (line <span class="line-number">215</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
asXML
</span>
()
</div>
</div>
<a name="methodbuildDrupalForm" id="buildDrupalForm"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">buildDrupalForm</span> (line <span class="line-number">24</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
buildDrupalForm
</span>
([<span class="var-type"></span>&nbsp;<span class="var-name">$form</span> = <span class="var-default">array()</span>])
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">$form</span> </li>
</ul>
</div>
<a name="methodhandleForm" id="handleForm"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<img src="../../media/images/Method.png" />
<span class="method-title">handleForm</span> (line <span class="line-number">180</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
handleForm
</span>
(<span class="var-type"></span>&nbsp;<span class="var-name">$form_values</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"></span>
<span class="var-name">$form_values</span> </li>
</ul>
</div>
</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>