|
|
|
<?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 RelsExt</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"> RelsExt</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="short-description">Description of relsext</p>
|
|
|
|
<ul class="tags">
|
|
|
|
<li><span class="field">author:</span> aoneill</li>
|
|
|
|
</ul>
|
|
|
|
<p class="notes">
|
|
|
|
Located in <a class="field" href="_api---rels-ext.inc.html">/api/rels-ext.inc</a> (line <span class="field">19</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="#$relsExtArray" title="details" class="var-name">$relsExtArray</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">RelsExt</span>
|
|
|
|
<a href="#RelsExt" title="details" class="method-name">RelsExt</a>
|
|
|
|
(<span class="var-type"><a href="../../Islandora/API/Fedora_Item.html">Fedora_Item</a></span> <span class="var-name">$item</span>)
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-definition">
|
|
|
|
<img src="../../media/images/Method.png" alt=" "/>
|
|
|
|
<span class="method-result">void</span>
|
|
|
|
<a href="#modified" title="details" class="method-name">modified</a>
|
|
|
|
()
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-definition">
|
|
|
|
<img src="../../media/images/Method.png" alt=" "/>
|
|
|
|
<span class="method-result">void</span>
|
|
|
|
<a href="#save" title="details" class="method-name">save</a>
|
|
|
|
()
|
|
|
|
</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$relsExtArray" id="$relsExtArray"><!-- --></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">$relsExtArray</span>
|
|
|
|
= <span class="var-default">array()</span> (line <span class="line-number">21</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="methodRelsExt" id="RelsExt"><!-- --></a>
|
|
|
|
<div class="oddrow">
|
|
|
|
|
|
|
|
<div class="method-header">
|
|
|
|
<img src="../../media/images/Constructor.png" />
|
|
|
|
<span class="method-title">Constructor RelsExt</span> (line <span class="line-number">30</span>)
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
<p class="short-description">Constructor that builds itself by retrieving the RELS-EXT stream from the repository for the given Fedora_Item.</p>
|
|
|
|
|
|
|
|
<div class="method-signature">
|
|
|
|
<span class="method-result">RelsExt</span>
|
|
|
|
<span class="method-name">
|
|
|
|
RelsExt
|
|
|
|
</span>
|
|
|
|
(<span class="var-type"><a href="../../Islandora/API/Fedora_Item.html">Fedora_Item</a></span> <span class="var-name">$item</span>)
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul class="parameters">
|
|
|
|
<li>
|
|
|
|
<span class="var-type"><a href="../../Islandora/API/Fedora_Item.html">Fedora_Item</a></span>
|
|
|
|
<span class="var-name">$item</span> </li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<a name="methodmodified" id="modified"><!-- --></a>
|
|
|
|
<div class="evenrow">
|
|
|
|
|
|
|
|
<div class="method-header">
|
|
|
|
<img src="../../media/images/Method.png" />
|
|
|
|
<span class="method-title">modified</span> (line <span class="line-number">35</span>)
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
|
|
<div class="method-signature">
|
|
|
|
<span class="method-result">void</span>
|
|
|
|
<span class="method-name">
|
|
|
|
modified
|
|
|
|
</span>
|
|
|
|
()
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<a name="methodsave" id="save"><!-- --></a>
|
|
|
|
<div class="oddrow">
|
|
|
|
|
|
|
|
<div class="method-header">
|
|
|
|
<img src="../../media/images/Method.png" />
|
|
|
|
<span class="method-title">save</span> (line <span class="line-number">44</span>)
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
<p class="short-description">Save the current state of the RELS-EXT array out to the repository item as a datastream.</p>
|
|
|
|
|
|
|
|
<div class="method-signature">
|
|
|
|
<span class="method-result">void</span>
|
|
|
|
<span class="method-name">
|
|
|
|
save
|
|
|
|
</span>
|
|
|
|
()
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<p class="notes" id="credit">
|
|
|
|
Documentation generated on Thu, 14 Jul 2011 16:56:05 -0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
|
|
|
</p>
|
|
|
|
</div></body>
|
|
|
|
</html>
|