<?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 target.inc.php</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">/cms/include/target.inc.php</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-functions">Functions</a>
</div>
<div class="info-box-body">
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">filesource:</span> <a href="..//__filesource/fsource_application__cmsincludetarget.inc.php.html">Source Code for this file</a></li>
</ul>
</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> |
<span class="disabled">Functions</span>
</div>
<div class="info-box-body">
<a name="functiondeletetarget" id="functiondeletetarget"><!-- --></a>
<div class="evenrow">
<div>
<img src="../media/images/Function.png" />
<span class="method-title">deletetarget</span> (line <span class="line-number"><a href="..//__filesource/fsource_application__cmsincludetarget.inc.php.html#a99">99</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Delete GMcached record.</p>
<p class="description"><p>Delete the GMcache record that has that particular ID.</p></p>
<ul class="tags">
<li><span class="field">uses:</span> <a href="../application/_cms_include_common_inc_php.html#functiondebugger">debugger()</a></li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
deletetarget
</span>
(<span class="var-type">interger</span> <span class="var-name">$id</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">interger</span>
<span class="var-name">$id</span><span class="var-description">: the ID of the GMcache record to be deleted.</span> </li>
</ul>
</div>
<a name="functionfindFirsttarget" id="functionfindFirsttarget"><!-- --></a>
<div class="oddrow">
<div>
<img src="../media/images/Function.png" />
<span class="method-title">findFirsttarget</span> (line <span class="line-number"><a href="..//__filesource/fsource_application__cmsincludetarget.inc.php.html#a68">68</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retrieve the first GMcache record.</p>
<p class="description"><p>Retrieve the ID of the first record in the GMcache table. To be used when no targetID was selected for editing.</p></p>
<ul class="tags">
<li><span class="field">return:</span> id of the First record</li>
</ul>
<div class="method-signature">
<span class="method-result">integer</span>
<span class="method-name">
findFirsttarget
</span>
(<span class="var-type">string</span> <span class="var-name">$botid</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$botid</span><span class="var-description">: the bot's ID, in case there are more than one bot.</span> </li>
</ul>
</div>
<a name="functionfindtarget" id="functionfindtarget"><!-- --></a>
<div class="evenrow">
<div>
<img src="../media/images/Function.png" />
<span class="method-title">findtarget</span> (line <span class="line-number"><a href="..//__filesource/fsource_application__cmsincludetarget.inc.php.html#a35">35</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retrieve the GMcache record.</p>
<p class="description"><p>Get the record using it's unique ID.</p></p>
<ul class="tags">
<li><span class="field">return:</span> [pattern] pattern of the category that matched the user's input and [input] the actual input of the user.</li>
</ul>
<div class="method-signature">
<span class="method-result">array</span>
<span class="method-name">
findtarget
</span>
(<span class="var-type">integer</span> <span class="var-name">$id</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">integer</span>
<span class="var-name">$id</span><span class="var-description">: ID of the GMcache entry to be retrieved</span> </li>
</ul>
</div>
</div>
</div>
<p class="notes" id="credit">
Documentation generated on Tue, 11 Jan 2005 18:41:11 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
</p>
</div></body>
</html>