Location: PHPKode > projects > DIY Blog > diy-blog/docs/diy-blog-model-om/BaseComment.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 BaseComment</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 BaseComment</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 'Comment' table.</p>
<p class="description"><p>This class was autogenerated by Propel on:</p><p>09/26/07 22:26:20</p></p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_model---om---BaseComment.php.html">/model/om/BaseComment.php</a> (line <span class="field">23</span>)
		</p>
		
				
		<pre>BaseObject
   |
   --BaseComment</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/Comment.html">Comment</a></td>
					<td>
											Skeleton subclass for representing a row from the 'Comment' table.
										</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/CommentPeer.html">CommentPeer</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"><a href="../diy-blog-model/Page.html">Page</a></span>
					<a href="#$aPage" title="details" class="var-name">$aPage</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$content" title="details" class="var-name">$content</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$datetime" title="details" class="var-name">$datetime</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$id" title="details" class="var-name">$id</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$name" title="details" class="var-name">$name</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$pageid" title="details" class="var-name">$pageid</a>
				</div>
																								<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$title" title="details" class="var-name">$title</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$validationFailures" title="details" class="var-name">$validationFailures</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$website" title="details" class="var-name">$website</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">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/Comment.html">Comment</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="#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">string</span>
										<a href="#getContent" title="details" class="method-name">getContent</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#getDateTime" title="details" class="method-name">getDateTime</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$format</span> = <span class="var-default">'Y-m-d H:i:s'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#getID" title="details" class="method-name">getID</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getName" title="details" class="method-name">getName</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../diy-blog-model/Page.html">Page</a></span>
										<a href="#getPage" title="details" class="method-name">getPage</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="#getPageID" title="details" class="method-name">getPageID</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../diy-blog-model/CommentPeer.html">CommentPeer</a></span>
										<a href="#getPeer" title="details" class="method-name">getPeer</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#getPrimaryKey" title="details" class="method-name">getPrimaryKey</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#getTitle" title="details" class="method-name">getTitle</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">string</span>
										<a href="#getWebsite" title="details" class="method-name">getWebsite</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">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="#setContent" title="details" class="method-name">setContent</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="#setDateTime" title="details" class="method-name">setDateTime</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setID" title="details" class="method-name">setID</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setName" title="details" class="method-name">setName</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="#setPage" title="details" class="method-name">setPage</a>
											(<span class="var-type"><a href="../diy-blog-model/Page.html">Page</a></span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setPageID" title="details" class="method-name">setPageID</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$v</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">int</span>&nbsp;<span class="var-name">$key</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setTitle" title="details" class="method-name">setTitle</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="#setWebsite" title="details" class="method-name">setWebsite</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="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type"><a href="../diy-blog-model/CommentPeer.html">CommentPeer</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="evenrow">

	<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">93</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="oddrow">

	<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">100</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$aPage" id="$aPage"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../diy-blog-model/Page.html">Page</a></span>
			<span class="var-name">$aPage</span>
						(line <span class="line-number">86</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

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

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

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

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

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$datetime</span>
						(line <span class="line-number">81</span>)
		</span>
	</div>

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

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

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

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

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

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

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

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

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$pageid</span>
						(line <span class="line-number">74</span>)
		</span>
	</div>

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

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

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

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The value for the title 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">520</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>
<a name="var$website" id="$website"><!-- --></A>
<div class="evenrow">

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

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The value for the website field.</p>
	<ul class="tags">
				<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="methodbuildCriteria" id="buildCriteria"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">buildCriteria</span> (line <span class="line-number">605</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">628</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">701</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/Comment.html">Comment</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">667</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 Comment (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="methoddelete" id="delete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">delete</span> (line <span class="line-number">411</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="evenrow">
	
	<div class="method-header">
		<span class="method-title">doSave</span> (line <span class="line-number">474</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/BaseComment.html#methodsave">BaseComment::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="oddrow">
	
	<div class="method-header">
		<span class="method-title">doValidate</span> (line <span class="line-number">567</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="methodgetContent" id="getContent"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getContent</span> (line <span class="line-number">151</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [content] 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">
			getContent
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetDateTime" id="getDateTime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getDateTime</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [optionally formatted] [datetime] column value.</p>
	<ul class="tags">
				<li><span class="field">return:</span> Formatted date/time value as string or integer unix timestamp (if format is NULL).</li>
				<li><span class="field">throws:</span> PropelException - if unable to convert the date/time to timestamp.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			getDateTime
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$format</span> = <span class="var-default">'Y-m-d H:i:s'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$format</span><span class="var-description">: The date/time format string (either date()-style or strftime()-style).                             If format is NULL, then the integer unix timestamp will be returned.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetID" id="getID"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getID</span> (line <span class="line-number">107</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [id] column value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			getID
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetName" id="getName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getName</span> (line <span class="line-number">129</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [name] 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">
			getName
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetPage" id="getPage"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getPage</span> (line <span class="line-number">756</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the associated Page object</p>
	<ul class="tags">
				<li><span class="field">return:</span> The associated Page 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/Page.html">Page</a></span>
		<span class="method-name">
			getPage
		</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><span class="var-description">: Optional Connection object.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPageID" id="getPageID"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPageID</span> (line <span class="line-number">162</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [pageid] column value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			getPageID
		</span>
				()
			</div>
	
		
			
	</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">719</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/CommentPeer.html">CommentPeer</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">641</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">int</span>
		<span class="method-name">
			getPrimaryKey
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetTitle" id="getTitle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getTitle</span> (line <span class="line-number">118</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [title] 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">
			getTitle
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetValidationFailures" id="getValidationFailures"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getValidationFailures</span> (line <span class="line-number">529</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/BaseComment.html#methodvalidate">BaseComment::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="methodgetWebsite" id="getWebsite"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getWebsite</span> (line <span class="line-number">140</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the [website] 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">
			getWebsite
		</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">372</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="methodsave" id="save"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">save</span> (line <span class="line-number">442</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/BaseComment.html#methoddoSave">BaseComment::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="methodsetContent" id="setContent"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setContent</span> (line <span class="line-number">293</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [content] 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">
			setContent
		</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="methodsetDateTime" id="setDateTime"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setDateTime</span> (line <span class="line-number">341</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [datetime] 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">
			setDateTime
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$v</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$v</span><span class="var-description">: new value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetID" id="setID"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setID</span> (line <span class="line-number">205</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [id] 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">
			setID
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$v</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$v</span><span class="var-description">: new value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetName" id="setName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setName</span> (line <span class="line-number">249</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [name] 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">
			setName
		</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="methodsetPage" id="setPage"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setPage</span> (line <span class="line-number">734</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Declares an association between this object and a Page object.</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">
			setPage
		</span>
					(<span class="var-type"><a href="../diy-blog-model/Page.html">Page</a></span>&nbsp;<span class="var-name">$v</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../diy-blog-model/Page.html">Page</a></span>
				<span class="var-name">$v</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetPageID" id="setPageID"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setPageID</span> (line <span class="line-number">315</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [pageid] 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">
			setPageID
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$v</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$v</span><span class="var-description">: new value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetPrimaryKey" id="setPrimaryKey"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setPrimaryKey</span> (line <span class="line-number">652</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Generic method to set the primary key (id 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">int</span>&nbsp;<span class="var-name">$key</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$key</span><span class="var-description">: Primary key.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTitle" id="setTitle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setTitle</span> (line <span class="line-number">227</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [title] 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">
			setTitle
		</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="methodsetWebsite" id="setWebsite"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setWebsite</span> (line <span class="line-number">271</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the value of [website] 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">
			setWebsite
		</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="evenrow">
	
	<div class="method-header">
		<span class="method-title">validate</span> (line <span class="line-number">545</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/BaseComment.html#methoddoValidate">BaseComment::doValidate()</a></li>
				<li><span class="field">see:</span> <a href="../diy-blog-model-om/BaseComment.html#methodgetValidationFailures">BaseComment::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:10 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
	</p>
	</div></body>
</html>
Return current item: DIY Blog