Location: PHPKode > projects > DIY Blog > diy-blog/docs/diy-blog-model-om/BaseFrontEndResource.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 Class BaseFrontEndResource</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			

<h2 class="class-name">Class BaseFrontEndResource</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-descendents">Descendents</a>
			|											<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">Base class that represents a row from the 'FrontEndResource' table.</p>
<p class="description"><p>This class was autogenerated by Propel on:</p><p>09/26/07 22:26:19</p></p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_model---om---BaseFrontEndResource.php.html">/model/om/BaseFrontEndResource.php</a> (line <span class="field">23</span>)
		</p>
		
				
		<pre>Resource
   |
   --BaseFrontEndResource</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</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">
			<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"><a href="../diy-blog-model/FrontEndResource.html">FrontEndResource</a></td>
					<td>
											A parent frontend Resource, inherited by the specific ones.
										</td>
				</tr>
							</table>
		</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> |
							<a href="#sec-descendents">Descendents</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">
					static <span class="var-type"><a href="../diy-blog-model/FrontEndResourcePeer.html">FrontEndResourcePeer</a></span>
					<a href="#$peer" title="details" class="var-name">$peer</a>
				</div>
																																												<div class="var-title">
					<span class="var-type">boolean</span>
					<a href="#$alreadyInSave" title="details" class="var-name">$alreadyInSave</a>
				</div>
																<div class="var-title">
					<span class="var-type">boolean</span>
					<a href="#$alreadyInValidation" title="details" class="var-name">$alreadyInValidation</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$collPages" title="details" class="var-name">$collPages</a>
				</div>
																<div class="var-title">
					<span class="var-type">Criteria</span>
					<a href="#$lastPageCriteria" title="details" class="var-name">$lastPageCriteria</a>
				</div>
																								<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$type" title="details" class="var-name">$type</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$uri" title="details" class="var-name">$uri</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$validationFailures" title="details" class="var-name">$validationFailures</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-descendents">Descendents</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">
											<span class="method-result">void</span>
										<a href="#addPage" title="details" class="method-name">addPage</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$l</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">Criteria</span>
										<a href="#buildCriteria" title="details" class="method-name">buildCriteria</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">Criteria</span>
										<a href="#buildPkeyCriteria" title="details" class="method-name">buildPkeyCriteria</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../diy-blog-model/FrontEndResource.html">FrontEndResource</a></span>
										<a href="#copy" title="details" class="method-name">copy</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$deepCopy</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#copyInto" title="details" class="method-name">copyInto</a>
											(<span class="var-type">object</span>&nbsp;<span class="var-name">$copyObj</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$deepCopy</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#countPages" title="details" class="method-name">countPages</a>
											([<span class="var-type">Criteria</span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$distinct</span> = <span class="var-default">false</span>], [<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#delete" title="details" class="method-name">delete</a>
											([<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#doSave" title="details" class="method-name">doSave</a>
											(<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#doValidate" title="details" class="method-name">doValidate</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$columns</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getPages" title="details" class="method-name">getPages</a>
											([<span class="var-type">Criteria</span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getPagesJoinBackEndResource" title="details" class="method-name">getPagesJoinBackEndResource</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getPagesJoinUser" title="details" class="method-name">getPagesJoinUser</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../diy-blog-model/FrontEndResourcePeer.html">FrontEndResourcePeer</a></span>
										<a href="#getPeer" title="details" class="method-name">getPeer</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getPrimaryKey" title="details" class="method-name">getPrimaryKey</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getType" title="details" class="method-name">getType</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getURI" title="details" class="method-name">getURI</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#getValidationFailures" title="details" class="method-name">getValidationFailures</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#hydrate" title="details" class="method-name">hydrate</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$rs</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$startcol</span> = <span class="var-default">1</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#initPages" title="details" class="method-name">initPages</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#save" title="details" class="method-name">save</a>
											([<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setPrimaryKey" title="details" class="method-name">setPrimaryKey</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setType" title="details" class="method-name">setType</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setURI" title="details" class="method-name">setURI</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#validate" title="details" class="method-name">validate</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$columns</span> = <span class="var-default">null</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-descendents">Descendents</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$peer" id="$peer"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type"><a href="../diy-blog-model/FrontEndResourcePeer.html">FrontEndResourcePeer</a></span>
			<span class="var-name">$peer</span>
						(line <span class="line-number">32</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The Peer class.</p>
<p class="description"><p>Instance provides a convenient way of calling static methods on a class  that calling code may not be able to identify.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$alreadyInSave" id="$alreadyInSave"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">boolean</span>
			<span class="var-name">$alreadyInSave</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">65</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Flag to prevent endless save loop, if this object is referenced  by another object which falls in this transaction.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$alreadyInValidation" id="$alreadyInValidation"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">boolean</span>
			<span class="var-name">$alreadyInValidation</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">72</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Flag to prevent endless validation loop, if this object is referenced  by another object which falls in this transaction.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$collPages" id="$collPages"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$collPages</span>
						(line <span class="line-number">52</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Collection to store aggregation of collPages.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$lastPageCriteria" id="$lastPageCriteria"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Criteria</span>
			<span class="var-name">$lastPageCriteria</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">58</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The criteria used to select the current contents of collPages.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$type" id="$type"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$type</span>
						(line <span class="line-number">46</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The value for the type field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$uri" id="$uri"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$uri</span>
						(line <span class="line-number">39</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The value for the uri field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$validationFailures" id="$validationFailures"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$validationFailures</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">284</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Array of ValidationFailed objects.</p>
	<ul class="tags">
				<li><span class="field">var:</span> ValidationFailed[]</li>
				<li><span class="field">access:</span> protected</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-descendents">Descendents</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="methodaddPage" id="addPage"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">addPage</span> (line <span class="line-number">585</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method called to associate a Page object to this object  through the Page foreign key attribute</p>
	<ul class="tags">
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addPage
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$l</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../diy-blog-model/Page.html">Page</a></span>
				<span class="var-name">$l</span><span class="var-description">: Page</span>			</li>
				</ul>
		
			
	</div>
<a name="methodbuildCriteria" id="buildCriteria"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">buildCriteria</span> (line <span class="line-number">365</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Build a Criteria object containing the values of all modified columns in this object.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The Criteria object containing all modified values.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Criteria</span>
		<span class="method-name">
			buildCriteria
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodbuildPkeyCriteria" id="buildPkeyCriteria"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">buildPkeyCriteria</span> (line <span class="line-number">383</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Builds a Criteria object containing the primary key for this object.</p>
<p class="description"><p>Unlike buildCriteria() this method includes the primary key values regardless  of whether or not they have been modified.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The Criteria object containing value(s) for primary key(s).</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Criteria</span>
		<span class="method-name">
			buildPkeyCriteria
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcopy" id="copy"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">copy</span> (line <span class="line-number">458</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Makes a copy of this object that will be inserted as a new row in table when saved.</p>
<p class="description"><p>It creates a new object filling in the simple attributes, but skipping any primary  keys that are defined for the table.</p><p>If desired, this method can also make copies of all associated (fkey referrers)  objects.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Clone of current object.</li>
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../diy-blog-model/FrontEndResource.html">FrontEndResource</a></span>
		<span class="method-name">
			copy
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$deepCopy</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$deepCopy</span><span class="var-description">: Whether to also copy all rows that refer (by fkey) to the current row.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcopyInto" id="copyInto"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">copyInto</span> (line <span class="line-number">422</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets contents of passed object to values from current object.</p>
<p class="description"><p>If desired, this method can also make copies of all associated (fkey referrers)  objects.</p></p>
	<ul class="tags">
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			copyInto
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">$copyObj</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$deepCopy</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$copyObj</span><span class="var-description">: An object of FrontEndResource (or compatible) type.</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$deepCopy</span><span class="var-description">: Whether to also copy all rows that refer (by fkey) to the current row.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcountPages" id="countPages"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">countPages</span> (line <span class="line-number">560</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the number of related Pages.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			countPages
		</span>
					([<span class="var-type">Criteria</span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$distinct</span> = <span class="var-default">false</span>], [<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Criteria</span>
				<span class="var-name">$criteria</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$distinct</span>			</li>
					<li>
				<span class="var-type">Connection</span>
				<span class="var-name">$con</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddelete" id="delete"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">delete</span> (line <span class="line-number">182</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes this object from datastore and sets delete attribute.</p>
	<ul class="tags">
				<li><span class="field">see:</span> BaseObject::isDeleted()</li>
				<li><span class="field">see:</span> BaseObject::setDeleted()</li>
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			delete
		</span>
					([<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Connection</span>
				<span class="var-name">$con</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddoSave" id="doSave"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">doSave</span> (line <span class="line-number">245</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stores the object in the database.</p>
<p class="description"><p>If the object is new, it inserts it; otherwise an update is performed.  All related objects are also updated in this method.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The number of rows affected by this insert/update and any referring fk objects' save() operations.</li>
				<li><span class="field">see:</span> <a href="../diy-blog-model-om/BaseFrontEndResource.html#methodsave">BaseFrontEndResource::save()</a></li>
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			doSave
		</span>
					(<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Connection</span>
				<span class="var-name">$con</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddoValidate" id="doValidate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">doValidate</span> (line <span class="line-number">331</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function performs the validation work for complex object models.</p>
<p class="description"><p>In addition to checking the current object, all related objects will  also be validated.  If all pass then <div class="src-code"><ol><li><div class="src-line"><span class="src-id">true</span></div></li>
</ol></div> is returned; otherwise  an aggreagated array of ValidationFailed objects will be returned.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> <div class="src-code"><ol><li><div class="src-line"><span class="src-id">true</span></div></li>
</ol></div> if all validations pass; array of <div class="src-code"><ol><li><div class="src-line"><span class="src-id">ValidationFailed</span></div></li>
</ol></div> objets otherwise.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			doValidate
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$columns</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$columns</span><span class="var-description">: Array of column names to validate.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPages" id="getPages"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPages</span> (line <span class="line-number">510</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">If this collection has already been initialized with  an identical criteria, it returns the collection.</p>
<p class="description"><p>Otherwise if this FrontEndResource has previously  been saved, it will retrieve related Pages from storage.  If this FrontEndResource is new, it will return  an empty collection or the current collection, the criteria  is ignored on a new object.</p></p>
	<ul class="tags">
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getPages
		</span>
					([<span class="var-type">Criteria</span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Connection</span>
				<span class="var-name">$con</span>			</li>
					<li>
				<span class="var-type">Criteria</span>
				<span class="var-name">$criteria</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPagesJoinBackEndResource" id="getPagesJoinBackEndResource"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getPagesJoinBackEndResource</span> (line <span class="line-number">603</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">If this collection has already been initialized with  an identical criteria, it returns the collection.</p>
<p class="description"><p>Otherwise if this FrontEndResource is new, it will return  an empty collection; or if this FrontEndResource has previously  been saved, it will retrieve related Pages from storage.</p><p>This method is protected by default in order to keep the public  api reasonable.  You can provide public methods for those you  actually need in FrontEndResource.</p></p>
	<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">
			getPagesJoinBackEndResource
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$criteria</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$con</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPagesJoinUser" id="getPagesJoinUser"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPagesJoinUser</span> (line <span class="line-number">652</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">If this collection has already been initialized with  an identical criteria, it returns the collection.</p>
<p class="description"><p>Otherwise if this FrontEndResource is new, it will return  an empty collection; or if this FrontEndResource has previously  been saved, it will retrieve related Pages from storage.</p><p>This method is protected by default in order to keep the public  api reasonable.  You can provide public methods for those you  actually need in FrontEndResource.</p></p>
	<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">
			getPagesJoinUser
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$criteria</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$criteria</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$con</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPeer" id="getPeer"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getPeer</span> (line <span class="line-number">476</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a peer instance associated with this om.</p>
<p class="description"><p>Since Peer classes are not to have any instance attributes, this method returns the  same instance for all member of this class. The method could therefore  be static, but this would prevent one from overriding the behavior.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../diy-blog-model/FrontEndResourcePeer.html">FrontEndResourcePeer</a></span>
		<span class="method-name">
			getPeer
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetPrimaryKey" id="getPrimaryKey"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPrimaryKey</span> (line <span class="line-number">396</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the primary key for this object (row).</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getPrimaryKey
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetType" id="getType"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getType</span> (line <span class="line-number">90</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [type] column value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getType
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetURI" id="getURI"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getURI</span> (line <span class="line-number">79</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [uri] column value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getURI
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetValidationFailures" id="getValidationFailures"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getValidationFailures</span> (line <span class="line-number">293</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets any ValidationFailed objects that resulted from last call to validate().</p>
	<ul class="tags">
				<li><span class="field">return:</span> ValidationFailed[]</li>
				<li><span class="field">see:</span> <a href="../diy-blog-model-om/BaseFrontEndResource.html#methodvalidate">BaseFrontEndResource::validate()</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getValidationFailures
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodhydrate" id="hydrate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">hydrate</span> (line <span class="line-number">153</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Hydrates (populates) the object variables with values from the database resultset.</p>
<p class="description"><p>An offset (1-based &quot;start column&quot;) is specified so that objects can be hydrated  with a subset of the columns in the resultset rows.  This is needed, for example,  for results of JOIN queries where the resultset row includes columns from two or  more tables.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> next starting column</li>
				<li><span class="field">throws:</span> PropelException  - Any caught Exception will be rewrapped as a PropelException.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			hydrate
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$rs</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$startcol</span> = <span class="var-default">1</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">ResultSet</span>
				<span class="var-name">$rs</span><span class="var-description">: The ResultSet class with cursor advanced to desired record pos.</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$startcol</span><span class="var-description">: 1-based offset column which indicates which restultset column to start with.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinitPages" id="initPages"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">initPages</span> (line <span class="line-number">490</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Temporary storage of collPages to save a possible db hit in  the event objects are add to the collection, but the  complete collection is never requested.</p>
	<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">
			initPages
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsave" id="save"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">save</span> (line <span class="line-number">213</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stores the object in the database.  If the object is new,  it inserts it; otherwise an update is performed.  This method  wraps the doSave() worker method in a transaction.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The number of rows affected by this insert/update and any referring fk objects' save() operations.</li>
				<li><span class="field">see:</span> <a href="../diy-blog-model-om/BaseFrontEndResource.html#methoddoSave">BaseFrontEndResource::doSave()</a></li>
				<li><span class="field">throws:</span> PropelException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			save
		</span>
					([<span class="var-type">Connection</span>&nbsp;<span class="var-name">$con</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Connection</span>
				<span class="var-name">$con</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetPrimaryKey" id="setPrimaryKey"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setPrimaryKey</span> (line <span class="line-number">407</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Generic method to set the primary key (uri column).</p>
	<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">
			setPrimaryKey
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: Primary key.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetType" id="setType"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setType</span> (line <span class="line-number">124</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [type] column.</p>
	<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">
			setType
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$v</span><span class="var-description">: new value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetURI" id="setURI"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setURI</span> (line <span class="line-number">102</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [uri] column.</p>
	<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">
			setURI
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$v</span><span class="var-description">: new value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate" id="validate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">validate</span> (line <span class="line-number">309</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates the objects modified field values and all objects related to this table.</p>
<p class="description"><p>If $columns is either a column name or an array of column names  only those columns are validated.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Whether all columns pass validation.</li>
				<li><span class="field">see:</span> <a href="../diy-blog-model-om/BaseFrontEndResource.html#methoddoValidate">BaseFrontEndResource::doValidate()</a></li>
				<li><span class="field">see:</span> <a href="../diy-blog-model-om/BaseFrontEndResource.html#methodgetValidationFailures">BaseFrontEndResource::getValidationFailures()</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			validate
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$columns</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$columns</span><span class="var-description">: Column name or an array of column names.</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Wed, 26 Sep 2007 23:18:15 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
	</p>
	</div></body>
</html>
Return current item: DIY Blog