Location: PHPKode > projects > Program E > docs/developer/Settings/_admin_dbprefs_php.html
<?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 dbprefs.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">/admin/dbprefs.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-constants">Constants</a>
										</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Preferences file</p>
<p class="description"><p>Contains the preferences settings for the database and the application itself. Constants  and the main MySQL connection.</p></p>
	<ul class="tags">
				<li><span class="field">filesource:</span> <a href="..//__filesource/fsource_Settings__admindbprefs.php.html">Source Code for this file</a></li>
				<li><span class="field">version:</span> 0.0.9</li>
				<li><span class="field">copyright:</span> 2002 &amp; 2004</li>
				<li><span class="field">author:</span> Paul Rydell</li>
				<li><span class="field">author:</span> Anne Kootstra</li>
			</ul>
		
			</div>
</div>
		

	
	<a name="sec-constants"></a>	
	<div class="info-box">
		<div class="info-box-title">Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
									<span class="disabled">Constants</span>
											</div>
		<div class="info-box-body">	
			<a name="defineCACHE_CONTROL"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">CACHE_CONTROL</span> = 
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a83">83</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">wether or not to use the resonse caching mechanism. 1=yes, 0=no</p>
	
		
</div>
<a name="defineDEFAULTPREDICATEVALUE"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">DEFAULTPREDICATEVALUE</span> = &quot;undefined&quot;
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a77">77</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">standard value when a user predicate hasn't been set.</p>
	
		
</div>
<a name="defineLOOPINGERRORMSG"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">LOOPINGERRORMSG</span> = &quot;Oops. I wasn't paying attention. Tell me again what is going on.&quot;
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a52">52</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The errormessage when a loop is detected.</p>
	
		
</div>
<a name="defineLOOPINGLIMIT"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">LOOPINGLIMIT</span> = 150
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a57">57</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The number of times a loop may occur before the error is thrown. -1 equals to no limit.</p>
	
		
</div>
<a name="defineMINUTESTOKEEPCHATLOG"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">MINUTESTOKEEPCHATLOG</span> = -1
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a72">72</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Minutes to keep the chatlot, standard set to -1, meaning forever.</p>
	
		
</div>
<a name="defineMINUTESTOKEEPDATA"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">MINUTESTOKEEPDATA</span> = 120
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a67">67</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the amount of minutes certain data needs to be kept.</p>
	
		
</div>
<a name="definePROGRAMEVERSION"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">PROGRAMEVERSION</span> = &quot;v0.09&quot;
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a88">88</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">version number of the application.</p>
	
		
</div>
<a name="defineRANDOMCHANCECLEAN"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Constant.png" />
		<span class="const-title">
			<span class="const-name">RANDOMCHANCECLEAN</span> = 100
			(line <span class="line-number"><a href="..//__filesource/fsource_Settings__admindbprefs.php.html#a62">62</a></span>)
		</span>
	</div>
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Has something to do with the random generator</p>
	
		
</div>
		</div>
	</div>
	
	
	
	<p class="notes" id="credit">
		Documentation generated on Wed, 12 Jan 2005 12:24:45 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>
Return current item: Program E