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
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> <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> <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> <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 /><SimpleDarwinRecordSet xmlns="http://rs.tdwg.org/dwc/xsd/simpledarwincore/" xmlns:dc="http://purl.org/dc/terms/" xmlns:dwc="http://rs.tdwg.org/dwc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://rs.tdwg.org/dwc/xsd/simpledarwincore/ http://rs.tdwg.org/dwc/xsd/tdwg_dwc_simple.xsd"><br /> <SimpleDarwinRecord><br /> <dc:type></dc:type><br /> <dc:language>en</dc:language><br /> <dwc:basisOfRecord></dwc:basisOfRecord><br /> <dwc:scientificName></dwc:scientificName><br /> <dwc:specificEpithet></dwc:specificEpithet><br /> <dwc:family></dwc:family><br /> <dwc:genus></dwc:genus><br /> <dwc:vernacularName></dwc:vernacularName><br /> <dwc:continent></dwc:continent><br /> <dwc:country></dwc:country><br /> <dwc:countryCode></dwc:countryCode><br /> <dwc:stateProvince></dwc:stateProvince><br /> <dwc:county></dwc:county><br /> <dwc:locality></dwc:locality><br /> <dwc:habitat></dwc:habitat><br /> <dwc:occurrenceRemarks></dwc:occurrenceRemarks><br /> <dwc:occurrenceID></dwc:occurrenceID><br /> <dwc:institutionCode></dwc:institutionCode><br /> <dwc:collectionCode></dwc:collectionCode><br /> <dwc:catalogNumber></dwc:catalogNumber><br /> <dwc:recordedBy></dwc:recordedBy><br /> <dwc:eventDate></dwc:eventDate><br /> <dwc:eventTime></dwc:eventTime><br /> </SimpleDarwinRecord><br /></SimpleDarwinRecordSet>'</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' => array(<br /> 'Occurrence' => 'Occurrence',<br /> 'Event' => 'Event',<br /> 'Location' => 'Location',<br /> 'Taxon' => 'Taxon',<br /> 'PreservedSpecimen' => 'PreservedSpecimen',<br /> 'FossilSpecimen' => 'FossilSpecimen',<br /> 'LivingSpecimen' => 'LivingSpecimen',<br /> 'HumanObservation' => 'HumanObservation',<br /> 'MachineObservation' => 'MachineObservation',<br /> 'NomenclaturalChecklist' => '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> <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> <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> <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> |