Location: PHPKode > projects > Pheeder RSS Generator > pheeder_1.0.1/docs/Pheeder/RssCommon.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 RssCommon</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"><img src="../media/images/AbstractClass_logo.png"
														alt="Abstract Class"
														title="Abstract Class"
														style="vertical-align: middle"> RssCommon</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">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li>ArrayAccess (internal interface)</li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">RSS Common</p>
<p class="description"><p>This class holds the common properties and methods of the <a href="../Pheeder/RssFeed.html">RssFeed</a>  and <a href="../Pheeder/RssItem.html">RssItem</a> classes.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">version:</span> See <a href="../Pheeder/_lib---pheeder.php.html">pheeder.php</a> for the version number of this library</li>
				<li><span class="field">link:</span> <a href="http://www.rssboard.org/rss-2-0-10">http://www.rssboard.org/rss-2-0-10 RSS 2.0 Specification</a></li>
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_lib---RssCommon.php.html">/lib/RssCommon.php</a> (line <span class="field">41</span>)
		</p>
		
				
		<pre></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; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../Pheeder/RssFeed.html">RssFeed</a>
					</td>
					<td>
											RSS Feed
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../Pheeder/RssItem.html">RssItem</a>
					</td>
					<td>
											RSS Item
										</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">Descendants</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">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">array</span>
					<a href="#$category" title="details" class="var-name">$category</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">string</span>
					<a href="#$description" title="details" class="var-name">$description</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">string</span>
					<a href="#$link" title="details" class="var-name">$link</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">string</span>
					<a href="#$pubDate" title="details" class="var-name">$pubDate</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">string</span>
					<a href="#$title" title="details" class="var-name">$title</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">Descendants</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">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result"><a href="../Pheeder/RssCommon.html">RssCommon</a></span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#fromArray" title="details" class="method-name">fromArray</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$array</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string|array</span>
										<a href="#getCategory" title="details" class="method-name">getCategory</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getDescription" title="details" class="method-name">getDescription</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getLink" title="details" class="method-name">getLink</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getPubDate" title="details" class="method-name">getPubDate</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getTitle" title="details" class="method-name">getTitle</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#offsetExists" title="details" class="method-name">offsetExists</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string|array</span>
										<a href="#offsetGet" title="details" class="method-name">offsetGet</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#offsetSet" title="details" class="method-name">offsetSet</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#offsetUnset" title="details" class="method-name">offsetUnset</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setCategory" title="details" class="method-name">setCategory</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setDescription" title="details" class="method-name">setDescription</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setLink" title="details" class="method-name">setLink</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setPubDate" title="details" class="method-name">setPubDate</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$v</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<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">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</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$category" id="$category"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$category</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">150</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The category tag</p>
<p class="description"><p>In <a href="../Pheeder/RssFeed.html">RssFeed</a>, it specifies one or more categories that the channel belongs to.  Follows the same rules as the item-level category element.  <a href="http://www.rssboard.org/rss-2-0-10#syndic8">More info</a>.</p><p>In <a href="../Pheeder/RssItem.html">RssItem</a>, it includes the item in one or more categories.  The value of each element is a forward-slash-separated string that identifies  a hierarchic location in the indicated taxonomy. Processors may establish  conventions for the interpretation of categories. It has one optional attribute,  domain, a string that identifies a categorization taxonomy.</p><p>Example:  <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;<span class="src-str">'Grateful&nbsp;Dead'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'domain'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'http://www.fool.com/cusips'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'value'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'MSFT'</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodgetCategory">RssCommon::getCategory()</a></li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodsetCategory">RssCommon::setCategory()</a></li>
			</ul>
	
	
		
		

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

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$description</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">102</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The description tag</p>
<p class="description"><p>In <a href="../Pheeder/RssFeed.html">RssFeed</a>, this is a phrase or sentence describing the channel.  This tag is required.</p><p>Example:  <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-str">'The&nbsp;latest&nbsp;news&nbsp;from&nbsp;GoUpstate.com,</span></div></li>
<li><div class="src-line"><span class="src-str">&nbsp;a&nbsp;Spartanburg&nbsp;Herald-Journal&nbsp;Web&nbsp;site.'</span></div></li>
</ol></div></p><p>In <a href="../Pheeder/RssItem.html">RssItem</a>, this is the item synopsis. Either this tag or the  <a href="../Pheeder/RssCommon.html#var$title">title</a> tag must be present.</p><p>Example:  <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-str">'Some&nbsp;of&nbsp;the&nbsp;most&nbsp;heated&nbsp;chatter&nbsp;at&nbsp;the&nbsp;Venice&nbsp;Film&nbsp;Festival&nbsp;this&nbsp;week</span></div></li>
<li><div class="src-line"><span class="src-str">&nbsp;was&nbsp;about&nbsp;the&nbsp;way&nbsp;that&nbsp;the&nbsp;arrival&nbsp;of&nbsp;the&nbsp;stars&nbsp;at&nbsp;the&nbsp;Palazzo&nbsp;del&nbsp;Cinema</span></div></li>
<li><div class="src-line"><span class="src-str">&nbsp;was&nbsp;being&nbsp;staged.'</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodgetDescription">RssCommon::getDescription()</a></li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodsetDescription">RssCommon::setDescription()</a></li>
			</ul>
	
	
		
		

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

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$link</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">76</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The link tag</p>
<p class="description"><p>In <a href="../Pheeder/RssFeed.html">RssFeed</a>, this is the URL to the HTML website corresponding  to the channel. It defaults to the site's domain.</p><p>Example: <div class="src-code"><ol><li><div class="src-line"><span class="src-str">'http://www.goupstate.com/'</span></div></li>
</ol></div></p><p>In <a href="../Pheeder/RssItem.html">RssItem</a>, this is the URL of the item.</p><p>Example: <div class="src-code"><ol><li><div class="src-line"><span class="src-str">'http://nytimes.com/2004/12/07FEST.html'</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodgetLink">RssCommon::getLink()</a></li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodsetLink">RssCommon::setLink()</a></li>
			</ul>
	
	
		
		

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

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$pubDate</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">125</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The pubDate tag</p>
<p class="description"><p>In <a href="../Pheeder/RssFeed.html">RssFeed</a>, this is the publication date for the content in the channel.  For example, the New York Times publishes on a daily basis, the publication date  flips once every 24 hours. That's when the pubDate of the channel changes.</p><p>In <a href="../Pheeder/RssItem.html">RssItem</a>, it indicates when the item was published.  <a href="http://www.rssboard.org/rss-2-0-10#ltpubdategtSubelementOfLtitemgt">More</a>.</p><p>Can be supplied in any format accepted by  <a href="http://www.php.net/manual/en/function.strtotime.php">strtotime()</a>.</p><p>Example:  <div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-str">'Sat,&nbsp;07&nbsp;Sep&nbsp;2002&nbsp;00:00:01&nbsp;GMT'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-str">'2002-09-07&nbsp;00:00:01'</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodgetPubDate">RssCommon::getPubDate()</a></li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodsetPubDate">RssCommon::setPubDate()</a></li>
			</ul>
	
	
		
		

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

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$title</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">60</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The title tag</p>
<p class="description"><p>In <a href="../Pheeder/RssFeed.html">RssFeed</a>, this is the name of the channel. It's how people refer  to your service. If you have an HTML website that contains the same information  as your RSS file, the title of your channel should be the same as the title  of your website. This tag is required.</p><p>Example: <div class="src-code"><ol><li><div class="src-line"><span class="src-str">'GoUpstate.com&nbsp;News&nbsp;Headlines'</span></div></li>
</ol></div></p><p>In <a href="../Pheeder/RssItem.html">RssItem</a>, this is the title of the item. Either this tag or the  <a href="../Pheeder/RssCommon.html#var$description">description</a> tag must be present.</p><p>Example: <div class="src-code"><ol><li><div class="src-line"><span class="src-str">'Venice&nbsp;Film&nbsp;Festival&nbsp;Tries&nbsp;to&nbsp;Quit&nbsp;Sinking'</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodgetTitle">RssCommon::getTitle()</a></li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#methodsetTitle">RssCommon::setTitle()</a></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="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">185</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor</p>
<p class="description"><p>Initializes an RSS feed or item.  The optional $data parameter can be an array for the <a href="../Pheeder/RssCommon.html#methodfromArray">fromArray()</a> method.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns a new instance of <a href="../Pheeder/RssFeed.html">RssFeed</a> or <a href="../Pheeder/RssItem.html">RssItem</a></li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#methodfromArray">RssCommon::fromArray()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../Pheeder/RssCommon.html">RssCommon</a></span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$data</span><span class="var-description">: Optional array of attributes and/or items</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Pheeder/RssFeed.html#method__construct">RssFeed::__construct()</a>
								: Constructor
							</li>
				</ul>
	</div>
<a name="methodfromArray" id="fromArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">fromArray</span> (line <span class="line-number">327</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Load the feed or item from an array</p>
<p class="description"><p>Loads the data for the feed or item from an associative array of tags.  The following tags are allowed for an RSS feed item:  <ul><li><a href="../Pheeder/RssCommon.html#var$title">title</a></li><li><a href="../Pheeder/RssCommon.html#var$link">link</a></li><li><a href="../Pheeder/RssCommon.html#var$description">description</a></li><li><a href="../Pheeder/RssItem.html#var$author">author</a></li><li><a href="../Pheeder/RssCommon.html#var$category">category</a></li><li><a href="../Pheeder/RssItem.html#var$comments">comments</a></li><li><a href="../Pheeder/RssItem.html#var$enclosure">enclosure</a></li><li><a href="../Pheeder/RssItem.html#var$guid">guid</a></li><li><a href="../Pheeder/RssCommon.html#var$pubDate">pubDate</a></li><li><a href="../Pheeder/RssItem.html#var$source">source</a></li></ul></p><p>For a list of allowed tags for an RSS feed, please see <a href="../Pheeder/RssFeed.html#methodfromArray">RssFeed::fromArray()</a>.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssFeed.html#methodfromArray">RssFeed::fromArray()</a></li>
				<li><span class="field">throws:</span> <a href="../Pheeder/RssException.html">RssException</a></li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssCommon.html#method__construct">RssCommon::__construct()</a></li>
				<li><span class="field">usedby:</span> <a href="../Pheeder/RssFeed.html#methodfromArray">RssFeed::fromArray()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			fromArray
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$array</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$array</span><span class="var-description">: An array of tags</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Pheeder/RssFeed.html#methodfromArray">RssFeed::fromArray()</a>
								: Load the feed from an array
							</li>
				</ul>
	</div>
<a name="methodgetCategory" id="getCategory"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getCategory</span> (line <span class="line-number">486</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get category</p>
<p class="description"><p>The getter method for <a href="../Pheeder/RssCommon.html#var$category">$category</a>.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The value of category</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$category">RssCommon::$category</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string|array</span>
		<span class="method-name">
			getCategory
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$output</span><span class="var-description">: Retrieve in XML format</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetDescription" id="getDescription"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getDescription</span> (line <span class="line-number">456</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get description</p>
<p class="description"><p>The getter method for <a href="../Pheeder/RssCommon.html#var$description">$description</a>.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The value of description</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$description">RssCommon::$description</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getDescription
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$output</span><span class="var-description">: Retrieve in XML format</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLink" id="getLink"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getLink</span> (line <span class="line-number">441</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get link</p>
<p class="description"><p>The getter method for <a href="../Pheeder/RssCommon.html#var$link">$link</a>.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The value of link</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$link">RssCommon::$link</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getLink
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$output</span><span class="var-description">: Retrieve in XML format</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPubDate" id="getPubDate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getPubDate</span> (line <span class="line-number">471</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get pubDate</p>
<p class="description"><p>The getter method for <a href="../Pheeder/RssCommon.html#var$pubDate">$pubDate</a>.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The value of pubDate</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$pubDate">RssCommon::$pubDate</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getPubDate
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$output</span><span class="var-description">: Retrieve in XML format</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetTitle" id="getTitle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getTitle</span> (line <span class="line-number">426</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get title</p>
<p class="description"><p>The getter method for <a href="../Pheeder/RssCommon.html#var$title">$title</a>.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The value of title</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$title">RssCommon::$title</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getTitle
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$output</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$output</span><span class="var-description">: Retrieve in XML format</span>			</li>
				</ul>
		
			
	</div>
<a name="methodoffsetExists" id="offsetExists"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">offsetExists</span> (line <span class="line-number">516</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Offset exists</p>
<p class="description"><p>Checks whether the specified tag is valid. This method is also used as part of  the ArrayAccess interface to allow using the object as an associative array  to access the tags within it.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the tag is valid, false otherwise</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetUnset">RssCommon::offsetUnset()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetSet">RssCommon::offsetSet()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetGet">RssCommon::offsetGet()</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			offsetExists
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$offset</span><span class="var-description">: The tag name</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>ArrayAccess::offsetExists</dt>
					</dl>
			
	</div>
<a name="methodoffsetGet" id="offsetGet"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">offsetGet</span> (line <span class="line-number">536</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Offset get</p>
<p class="description"><p>Retrieves the specified tag's value. This method is also used as part of  the ArrayAccess interface to allow using the object as an associative array  to access the tags within it.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The value of the specified tag</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetUnset">RssCommon::offsetUnset()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetSet">RssCommon::offsetSet()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetExists">RssCommon::offsetExists()</a></li>
				<li><span class="field">throws:</span> <a href="../Pheeder/RssException.html">RssException</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string|array</span>
		<span class="method-name">
			offsetGet
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$offset</span><span class="var-description">: The tag name</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>ArrayAccess::offsetGet</dt>
					</dl>
			
	</div>
<a name="methodoffsetSet" id="offsetSet"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">offsetSet</span> (line <span class="line-number">558</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Offset set</p>
<p class="description"><p>Sets the specified tag's value. This method is also used as part of  the ArrayAccess interface to allow using the object as an associative array  to access the tags within it.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetUnset">RssCommon::offsetUnset()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetGet">RssCommon::offsetGet()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetExists">RssCommon::offsetExists()</a></li>
				<li><span class="field">throws:</span> <a href="../Pheeder/RssException.html">RssException</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			offsetSet
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</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">$offset</span><span class="var-description">: The tag name</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$v</span><span class="var-description">: The new value for the tag</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>ArrayAccess::offsetSet</dt>
					</dl>
			
	</div>
<a name="methodoffsetUnset" id="offsetUnset"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">offsetUnset</span> (line <span class="line-number">579</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Offset unset</p>
<p class="description"><p>Unsets the specified tag's value. This method is also used as part of  the ArrayAccess interface to allow using the object as an associative array  to access the tags within it.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetSet">RssCommon::offsetSet()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetGet">RssCommon::offsetGet()</a></li>
				<li><span class="field">see:</span> <a href="../Pheeder/RssCommon.html#methodoffsetExists">RssCommon::offsetExists()</a></li>
				<li><span class="field">throws:</span> <a href="../Pheeder/RssException.html">RssException</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			offsetUnset
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$offset</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$offset</span><span class="var-description">: The tag name</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>ArrayAccess::offsetUnset</dt>
					</dl>
			
	</div>
<a name="methodsetCategory" id="setCategory"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setCategory</span> (line <span class="line-number">405</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set category</p>
<p class="description"><p>The setter method for <a href="../Pheeder/RssCommon.html#var$category">$category</a>.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">throws:</span> <a href="../Pheeder/RssException.html">RssException</a></li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$category">RssCommon::$category</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setCategory
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$v</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$v</span><span class="var-description">: The new value of category</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetDescription" id="setDescription"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setDescription</span> (line <span class="line-number">376</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set description</p>
<p class="description"><p>The setter method for <a href="../Pheeder/RssCommon.html#var$description">$description</a>.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$description">RssCommon::$description</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDescription
		</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">: The new value of description</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetLink" id="setLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setLink</span> (line <span class="line-number">362</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set link</p>
<p class="description"><p>The setter method for <a href="../Pheeder/RssCommon.html#var$link">$link</a>.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$link">RssCommon::$link</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setLink
		</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">: The new value of link</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetPubDate" id="setPubDate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setPubDate</span> (line <span class="line-number">390</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set pubDate</p>
<p class="description"><p>The setter method for <a href="../Pheeder/RssCommon.html#var$pubDate">$pubDate</a>.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$pubDate">RssCommon::$pubDate</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setPubDate
		</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">: The new value of pubDate</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetTitle" id="setTitle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setTitle</span> (line <span class="line-number">348</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set title</p>
<p class="description"><p>The setter method for <a href="../Pheeder/RssCommon.html#var$title">$title</a>.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../Pheeder/RssCommon.html#var$title">RssCommon::$title</a></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">: The new value of title</span>			</li>
				</ul>
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">__toString</span> (line <span class="line-number">230</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert the object to string</p>
<p class="description"><p>Returns the feed or item as an XML string. This method is called  if the object is cast to string.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The RSS feed or item as XML</li>
				<li><span class="field">author:</span> Jure Merhar &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> RssFeed::asXML()</li>
				<li><span class="field">uses:</span> RssItem::asXML()</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Sat, 11 Apr 2009 18:52:56 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>
Return current item: Pheeder RSS Generator