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.
342 lines
12 KiB
342 lines
12 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 page book.inc</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="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/ilives/book.inc</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-classes">Classes</a> |
|
| <a href="#sec-functions">Functions</a> |
|
</div> |
|
<div class="info-box-body"> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
</div> |
|
</div> |
|
|
|
<a name="sec-classes"></a> |
|
<div class="info-box"> |
|
<div class="info-box-title">Classes</div> |
|
<div class="nav-bar"> |
|
<a href="#sec-description">Description</a> | |
|
<span class="disabled">Classes</span> |
|
| <a href="#sec-functions">Functions</a> |
|
</div> |
|
<div class="info-box-body"> |
|
<table cellpadding="2" cellspacing="0" class="class-table"> |
|
<tr> |
|
<th class="class-table-header">Class</th> |
|
<th class="class-table-header">Description</th> |
|
</tr> |
|
<tr> |
|
<td style="padding-right: 2em; vertical-align: top; white-space: nowrap"> |
|
<img src="../media/images/Class.png" |
|
alt=" class" |
|
title=" class"/> |
|
<a href="../Islandora/IslandoraBook.html">IslandoraBook</a> |
|
</td> |
|
<td> |
|
|
|
</td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
|
|
|
|
|
|
|
|
<a name="sec-functions"></a> |
|
<div class="info-box"> |
|
<div class="info-box-title">Functions</div> |
|
<div class="nav-bar"> |
|
<a href="#sec-description">Description</a> | |
|
<a href="#sec-classes">Classes</a> |
|
| <span class="disabled">Functions</span> |
|
</div> |
|
<div class="info-box-body"> |
|
<a name="functionbook_add_pages_form" id="functionbook_add_pages_form"><!-- --></a> |
|
<div class="oddrow"> |
|
|
|
<div> |
|
<img src="../media/images/Function.png" /> |
|
<span class="method-title">book_add_pages_form</span> (line <span class="line-number">217</span>) |
|
</div> |
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
<div class="method-signature"> |
|
<span class="method-result">void</span> |
|
<span class="method-name"> |
|
book_add_pages_form |
|
</span> |
|
(<span class="var-type"></span> <span class="var-name">&$form_state</span>, <span class="var-type"></span> <span class="var-name">$pid</span>, [<span class="var-type"></span> <span class="var-name">$page_cmodel</span> = <span class="var-default">'ilives:pageCModel'</span>], [<span class="var-type"></span> <span class="var-name">$relation</span> = <span class="var-default">'isMemberOf'</span>]) |
|
</div> |
|
|
|
<ul class="parameters"> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">&$form_state</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$pid</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$page_cmodel</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$relation</span> </li> |
|
</ul> |
|
|
|
|
|
</div> |
|
<a name="functionbook_add_pages_form_submit" id="functionbook_add_pages_form_submit"><!-- --></a> |
|
<div class="evenrow"> |
|
|
|
<div> |
|
<img src="../media/images/Function.png" /> |
|
<span class="method-title">book_add_pages_form_submit</span> (line <span class="line-number">251</span>) |
|
</div> |
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
<div class="method-signature"> |
|
<span class="method-result">void</span> |
|
<span class="method-name"> |
|
book_add_pages_form_submit |
|
</span> |
|
(<span class="var-type"></span> <span class="var-name">$form</span>, <span class="var-type"></span> <span class="var-name">&$form_state</span>) |
|
</div> |
|
|
|
<ul class="parameters"> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$form</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">&$form_state</span> </li> |
|
</ul> |
|
|
|
|
|
</div> |
|
<a name="functionbook_add_pages_form_validate" id="functionbook_add_pages_form_validate"><!-- --></a> |
|
<div class="oddrow"> |
|
|
|
<div> |
|
<img src="../media/images/Function.png" /> |
|
<span class="method-title">book_add_pages_form_validate</span> (line <span class="line-number">245</span>) |
|
</div> |
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
<div class="method-signature"> |
|
<span class="method-result">void</span> |
|
<span class="method-name"> |
|
book_add_pages_form_validate |
|
</span> |
|
(<span class="var-type"></span> <span class="var-name">$form</span>, <span class="var-type"></span> <span class="var-name">&$form_state</span>) |
|
</div> |
|
|
|
<ul class="parameters"> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$form</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">&$form_state</span> </li> |
|
</ul> |
|
|
|
|
|
</div> |
|
<a name="functionilives_add_single_page_object" id="functionilives_add_single_page_object"><!-- --></a> |
|
<div class="evenrow"> |
|
|
|
<div> |
|
<img src="../media/images/Function.png" /> |
|
<span class="method-title">ilives_add_single_page_object</span> (line <span class="line-number">305</span>) |
|
</div> |
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
<div class="method-signature"> |
|
<span class="method-result">void</span> |
|
<span class="method-name"> |
|
ilives_add_single_page_object |
|
</span> |
|
(<span class="var-type"></span> <span class="var-name">$book_pid</span>, <span class="var-type"></span> <span class="var-name">$page_file</span>, [<span class="var-type"></span> <span class="var-name">$page_num</span> = <span class="var-default">1</span>], [<span class="var-type"></span> <span class="var-name">$page_title</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span> <span class="var-name">$page_cmodel</span> = <span class="var-default">'ilives:pageCModel'</span>], [<span class="var-type"></span> <span class="var-name">$relation</span> = <span class="var-default">'isMemberOfCollection'</span>]) |
|
</div> |
|
|
|
<ul class="parameters"> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$book_pid</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$page_file</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$page_num</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$page_title</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$page_cmodel</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$relation</span> </li> |
|
</ul> |
|
|
|
|
|
</div> |
|
<a name="functionilives_create_page_objects" id="functionilives_create_page_objects"><!-- --></a> |
|
<div class="oddrow"> |
|
|
|
<div> |
|
<img src="../media/images/Function.png" /> |
|
<span class="method-title">ilives_create_page_objects</span> (line <span class="line-number">272</span>) |
|
</div> |
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
<p class="short-description">Create a page object for each element in $image_list as a child object of $pid</p> |
|
<div class="method-signature"> |
|
<span class="method-result">void</span> |
|
<span class="method-name"> |
|
ilives_create_page_objects |
|
</span> |
|
(<span class="var-type"></span> <span class="var-name">$pid</span>, [<span class="var-type"></span> <span class="var-name">$image_list</span> = <span class="var-default">array()</span>], [<span class="var-type"></span> <span class="var-name">$page_cmodel</span> = <span class="var-default">'ilives:pageCModel'</span>], [<span class="var-type"></span> <span class="var-name">$relation</span> = <span class="var-default">'isMemberOfCollection'</span>]) |
|
</div> |
|
|
|
<ul class="parameters"> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$pid</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$image_list</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$page_cmodel</span> </li> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$relation</span> </li> |
|
</ul> |
|
|
|
|
|
</div> |
|
<a name="functiontransform_mods_to_dc" id="functiontransform_mods_to_dc"><!-- --></a> |
|
<div class="evenrow"> |
|
|
|
<div> |
|
<img src="../media/images/Function.png" /> |
|
<span class="method-title">transform_mods_to_dc</span> (line <span class="line-number">314</span>) |
|
</div> |
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
<div class="method-signature"> |
|
<span class="method-result">void</span> |
|
<span class="method-name"> |
|
transform_mods_to_dc |
|
</span> |
|
(<span class="var-type"></span> <span class="var-name">$mods</span>) |
|
</div> |
|
|
|
<ul class="parameters"> |
|
<li> |
|
<span class="var-type"></span> |
|
<span class="var-name">$mods</span> </li> |
|
</ul> |
|
|
|
|
|
</div> |
|
</div> |
|
</div> |
|
|
|
<p class="notes" id="credit"> |
|
Documentation generated on Thu, 14 Jul 2011 16:37:31 -0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> |
|
</p> |
|
</div></body> |
|
</html> |