Location: PHPKode > projects > PhpiCalLib > doc/PhpiCalLib/PhpiCalLib_ContentLine.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 PhpiCalLib_ContentLine</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 PhpiCalLib_ContentLine</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">Represents a contentline token.</p>
<p class="description"><p>ContentLines in iCalendar mostly represent properties, but sometimes indicate the start/end  of a component.</p></p>
		<p class="notes">
			Located in <a class="field" href="_contentline.php.html">/contentline.php</a> (line <span class="field">105</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"><a href="../PhpiCalLib/PhpiCalLib_PropertyFactory.html">PhpiCalLib_PropertyFactory</a></td>
					<td>
											The factory class for creating the right kind of <a href="../PhpiCalLib/PhpiCalLib_ContentLine.html">PhpiCalLib_ContentLine</a> objects.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../PhpiCalLib/PhpiCalLib_Properties_TextProperty.html">PhpiCalLib_Properties_TextProperty</a></td>
					<td>
											Many properties specify a value of type &quot;text&quot;.  This base class can be used for those.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../PhpiCalLib/PhpiCalLib_Properties_UnencodedProperty.html">PhpiCalLib_Properties_UnencodedProperty</a></td>
					<td>
											For properties that require no encoding of the value.
										</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">string</span>
					<a href="#$IanaTokenRegex" title="details" class="var-name">$IanaTokenRegex</a>
				</div>
																								<div class="var-title">
					static <span class="var-type">string</span>
					<a href="#$NameSplitRegex" title="details" class="var-name">$NameSplitRegex</a>
				</div>
																												<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$aParameters" title="details" class="var-name">$aParameters</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$aPermittedParameters" title="details" class="var-name">$aPermittedParameters</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$EncodedValue" title="details" class="var-name">$EncodedValue</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">PHPICALLIB_PROPERTY_?</span>
					<a href="#$Type" title="details" class="var-name">$Type</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">
					static 						<span class="method-result">string</span>
										<a href="#ToPropertyName" title="details" class="method-name">ToPropertyName</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$Type</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">int</span>
										<a href="#ToPropertyType" title="details" class="method-name">ToPropertyType</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span>)
									</div>
																
												<div class="method-definition">
											<span class="method-result">PhpiCalLib_ContentLine</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#AddParameter" title="details" class="method-name">AddParameter</a>
											(<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$Parameter</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#AddParameterPermitted" title="details" class="method-name">AddParameterPermitted</a>
											(<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$Parameter</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#Copy" title="details" class="method-name">Copy</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$Other</span>, <span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_ContentLine.html">PhpiCalLib_ContentLine</a></span>&nbsp;<span class="var-name">$ContentLine</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">A</span>
										<a href="#Create" title="details" class="method-name">Create</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$UnfoldedContentLine</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../PhpiCalLib/PhpiCalLib_ContentLine.html">PhpiCalLib_ContentLine</a></span>
										<a href="#CreateContentLine" title="details" class="method-name">CreateContentLine</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetEncodedValue" title="details" class="method-name">GetEncodedValue</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#GetName" title="details" class="method-name">GetName</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetParameter" title="details" class="method-name">GetParameter</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$Type</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#GetParameters" title="details" class="method-name">GetParameters</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$Type</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">PHPICALLIB_PROPERTY_*</span>
										<a href="#GetType" title="details" class="method-name">GetType</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#RemoveParameter" title="details" class="method-name">RemoveParameter</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$Type</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#RemoveParameterPermitted" title="details" class="method-name">RemoveParameterPermitted</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$Type</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetEncodedValue" title="details" class="method-name">SetEncodedValue</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$Value</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">$Name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetParameter" title="details" class="method-name">SetParameter</a>
											(<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$Parameter</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetParameterPermitted" title="details" class="method-name">SetParameterPermitted</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$Parameter</span>, <span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$ContentLine</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetParameters" title="details" class="method-name">SetParameters</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$aParameters</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetType" title="details" class="method-name">SetType</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$Type</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#ToContentLines" title="details" class="method-name">ToContentLines</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$iCalString</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$String</span>)
									</div>
																																<div class="method-definition">
											<span class="method-result">A</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$IanaTokenRegex" id="$IanaTokenRegex"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">string</span>
			<span class="var-name">$IanaTokenRegex</span>
			 = <span class="var-default"> '[a-zA-Z0-9-]+'</span>			(line <span class="line-number">198</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Regex to capture validate an iana-token</p>
	<ul class="tags">
				<li><span class="field">link:</span> <a href="http://tools.ietf.org/html/draft-ietf-calsify-rfc2445bis-08#section-3.1">http://tools.ietf.org/html/draft-ietf-calsify-rfc2445bis-08#section-3.1
      iana-token    = 1*(ALPHA / DIGIT / &quot;-&quot;)</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

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

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">string</span>
			<span class="var-name">$NameSplitRegex</span>
			 = <span class="var-default"> '[a-zA-Z0-9-]+'</span>			(line <span class="line-number">215</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Regex to validate a name token</p>
<p class="description"><p>A quick regular expression to validate the name token  ==&gt;       name          = iana-token / x-name       iana-token    = 1*(ALPHA / DIGIT / &quot;-&quot;)       x-name        = &quot;X-&quot; [vendorid &quot;-&quot;] 1*(ALPHA / DIGIT / &quot;-&quot;)       vendorid      = 3*(ALPHA / DIGIT)  ==&gt;       name          = 1*(ALPHA / DIGIT / &quot;-&quot;)                     / &quot;X-&quot; [3*(ALPHA / DIGIT) &quot;-&quot;] 1*(ALPHA / DIGIT / &quot;-&quot;)  ==&gt;       name          = 1*(ALPHA / DIGIT / &quot;-&quot;)</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

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

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

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The &quot;param&quot; tokens</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

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

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

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Info about which parameters are permitted for this property</p>
<p class="description"><p>Empty array means all parameters are permitted.  Each entry is keyed  by id.  The values indicate the min and max number of instances.  For  example, the spec says this for ATTENDEE.  <a href="http://tools.ietf.org/html/draft-ietf-calsify-rfc2445bis-08#section-3.8.4.1">http://tools.ietf.org/html/draft-ietf-calsify-rfc2445bis-08#section-3.8.4.1</a>  <pre>        attparam   = *(

                   ; the following are OPTIONAL,
                   ; but MUST NOT occur more than once
                   (";" cutypeparam) / (";" memberparam) /
                   (";" roleparam) / (";" partstatparam) /
                   (";" rsvpparam) / (";" deltoparam) /
                   (";" delfromparam) / (";" sentbyparam) /
                   (";" cnparam) / (";" dirparam) /
                   (";" languageparam) /

                   ; the following is OPTIONAL,
                   ; and MAY occur more than once
                   (";" other-param)

                   )</pre></p><p>This would be implemented as:</p><p><div class="src-code"><ol><li><div class="src-line">&nbsp;<span class="src-var">$this</span><span class="src-sym">-&gt;</span><span class="src-id"><a href="../PhpiCalLib/PhpiCalLib_ContentLine.html#var$aPermittedParameters">aPermittedParameters</a>&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;the&nbsp;following&nbsp;are&nbsp;OPTIONAL,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;but&nbsp;MUST&nbsp;NOT&nbsp;occur&nbsp;more&nbsp;than&nbsp;once</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;;&quot;&nbsp;cutypeparam)&nbsp;/&nbsp;(&quot;;&quot;&nbsp;memberparam)&nbsp;/</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;;&quot;&nbsp;roleparam)&nbsp;/&nbsp;(&quot;;&quot;&nbsp;partstatparam)&nbsp;/</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;;&quot;&nbsp;rsvpparam)&nbsp;/&nbsp;(&quot;;&quot;&nbsp;deltoparam)&nbsp;/</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;;&quot;&nbsp;delfromparam)&nbsp;/&nbsp;(&quot;;&quot;&nbsp;sentbyparam)&nbsp;/</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;;&quot;&nbsp;cnparam)&nbsp;/&nbsp;(&quot;;&quot;&nbsp;dirparam)&nbsp;/</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;;&quot;&nbsp;languageparam)&nbsp;/</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_CUTYPE">PHPICALLIB_PARAMETER_CUTYPE</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_MEMBER">PHPICALLIB_PARAMETER_MEMBER</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_ROLE">PHPICALLIB_PARAMETER_ROLE</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_PARTSTAT">PHPICALLIB_PARAMETER_PARTSTAT</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_RSVP">PHPICALLIB_PARAMETER_RSVP</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_DELEGATED_TO">PHPICALLIB_PARAMETER_DELEGATED_TO</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_DELEGATED_FROM">PHPICALLIB_PARAMETER_DELEGATED_FROM</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_SENT_BY">PHPICALLIB_PARAMETER_SENT_BY</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_CN">PHPICALLIB_PARAMETER_CN</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_DIR">PHPICALLIB_PARAMETER_DIR</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_LANGUAGE">PHPICALLIB_PARAMETER_LANGUAGE</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;the&nbsp;following&nbsp;is&nbsp;OPTIONAL,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;and&nbsp;MAY&nbsp;occur&nbsp;more&nbsp;than&nbsp;once</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;;&quot;&nbsp;other-param)</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_IANAPARAM">PHPICALLIB_PARAMETER_IANAPARAM</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span>-<span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-id"><a href="../PhpiCalLib/_parameters.php.html#definePHPICALLIB_PARAMETER_XPARAM">PHPICALLIB_PARAMETER_XPARAM</a>&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span>-<span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li>
</ol></div></p><p>Note that this mechanism isn't sufficient to ensure the property only has valid  parameters, for example two parameters may be mutually exclusive.  Where that is the  case the user should override (@link AddParameterPermitted()}, <a href="../PhpiCalLib/PhpiCalLib_ContentLine.html#methodRemoveParameterPermitted">RemoveParameterPermitted</a> or  <a href="../PhpiCalLib/PhpiCalLib_ContentLine.html#methodSetParameterPermitted">SetParameterPermitted</a> to make sure that any remaining rules have been followed.</p></p>
	<ul class="tags">
				<li><span class="field">var:</span> Keyed by PHPICALLIB_PARAMETER_* ids, value is an array(mininstances, maxinstances)</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

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

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

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The &quot;value&quot; token</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>
			 = <span class="var-default"> ''</span>			(line <span class="line-number">110</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The &quot;name&quot; token</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

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

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PHPICALLIB_PROPERTY_?</span>
			<span class="var-name">$Type</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">115</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">An enumerated version of $Name</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="methodToPropertyName" id="ToPropertyName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method ToPropertyName</span> (line <span class="line-number">412</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert a property type to it's defined name</p>
	<ul class="tags">
				<li><span class="field">return:</span> A &quot;name&quot; RFC2445 token</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			ToPropertyName
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$Type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$Type</span><span class="var-description">: one of the PHPICALLIB_PROPERTY_* properties</span>			</li>
				</ul>
		
			
	</div>
<a name="methodToPropertyType" id="ToPropertyType"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method ToPropertyType</span> (line <span class="line-number">390</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert a property name to it's defined type</p>
	<ul class="tags">
				<li><span class="field">return:</span> one of the PHPICALLIB_PROPERTY_* properties</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">int</span>
		<span class="method-name">
			ToPropertyType
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Name</span><span class="var-description">: a &quot;name&quot; RFC2445 token</span>			</li>
				</ul>
		
			
	</div>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">301</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">PhpiCalLib_ContentLine</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_TextProperty.html#method__construct">PhpiCalLib_Properties_TextProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_ProdIdProperty.html#method__construct">PhpiCalLib_Properties_ProdIdProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DescriptionProperty.html#method__construct">PhpiCalLib_Properties_DescriptionProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_CategoriesProperty.html#method__construct">PhpiCalLib_Properties_CategoriesProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_SummaryProperty.html#method__construct">PhpiCalLib_Properties_SummaryProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_UidProperty.html#method__construct">PhpiCalLib_Properties_UidProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DtEndProperty.html#method__construct">PhpiCalLib_Properties_DtEndProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DueProperty.html#method__construct">PhpiCalLib_Properties_DueProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DtStartProperty.html#method__construct">PhpiCalLib_Properties_DtStartProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_RecurrenceIdProperty.html#method__construct">PhpiCalLib_Properties_RecurrenceIdProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_ExDateProperty.html#method__construct">PhpiCalLib_Properties_ExDateProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DateTimeProperty.html#method__construct">PhpiCalLib_Properties_DateTimeProperty::__construct()</a>
								: Constructor
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_CompletedProperty.html#method__construct">PhpiCalLib_Properties_CompletedProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_CreatedProperty.html#method__construct">PhpiCalLib_Properties_CreatedProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DtStampProperty.html#method__construct">PhpiCalLib_Properties_DtStampProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_LastModifiedProperty.html#method__construct">PhpiCalLib_Properties_LastModifiedProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_VersionProperty.html#method__construct">PhpiCalLib_Properties_VersionProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_CalscaleProperty.html#method__construct">PhpiCalLib_Properties_CalscaleProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_MethodProperty.html#method__construct">PhpiCalLib_Properties_MethodProperty::__construct()</a>
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DurationProperty.html#method__construct">PhpiCalLib_Properties_DurationProperty::__construct()</a>
							</li>
				</ul>
	</div>
<a name="methodAddParameter" id="AddParameter"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">AddParameter</span> (line <span class="line-number">618</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a new parameter</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">
			AddParameter
		</span>
					(<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$Parameter</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>
				<span class="var-name">$Parameter</span>			</li>
				</ul>
		
			
	</div>
<a name="methodAddParameterPermitted" id="AddParameterPermitted"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">AddParameterPermitted</span> (line <span class="line-number">863</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Determine if the given parameter is permitted for addition</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			AddParameterPermitted
		</span>
					(<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$Parameter</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>
				<span class="var-name">$Parameter</span>			</li>
				</ul>
		
			
	</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">310</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Copy from the other object</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">
			Copy
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$Other</span>, <span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_ContentLine.html">PhpiCalLib_ContentLine</a></span>&nbsp;<span class="var-name">$ContentLine</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_ContentLine.html">PhpiCalLib_ContentLine</a></span>
				<span class="var-name">$ContentLine</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$Other</span>			</li>
				</ul>
		
			
	</div>
<a name="methodCreate" id="Create"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Create</span> (line <span class="line-number">726</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parse a contentline from the unfolded string, returning the new object</p>
	<ul class="tags">
				<li><span class="field">return:</span> PhpiCalLib_ContentLine derived class, according to what CreateContentLine returned</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">A</span>
		<span class="method-name">
			Create
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$UnfoldedContentLine</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$UnfoldedContentLine</span><span class="var-description">: The unfolded line that we think represents a contentline</span>			</li>
				</ul>
		
			
	</div>
<a name="methodCreateContentLine" id="CreateContentLine"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">CreateContentLine</span> (line <span class="line-number">714</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create a new ContentLine object</p>
<p class="description"><p>A component would override this class, providing a new version of this function  in order to choose the right kind of class to create.  The alternative is to create  a generic ContentLine object, then us Copy() to establish the specialised version, but  it's better to create the right object up front.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> derived class</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../PhpiCalLib/PhpiCalLib_ContentLine.html">PhpiCalLib_ContentLine</a></span>
		<span class="method-name">
			CreateContentLine
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Name</span><span class="var-description">: The name of the contentline</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_PropertyFactory.html#methodCreateContentLine">PhpiCalLib_PropertyFactory::CreateContentLine()</a>
								: Overridden, to create the right kind of PhpiCalLib_ContentLine
							</li>
				</ul>
	</div>
<a name="methodGetEncodedValue" id="GetEncodedValue"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetEncodedValue</span> (line <span class="line-number">678</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Access the property value as an encoded 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">
			GetEncodedValue
		</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">420</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the name of the property</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">
			GetName
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetParameter" id="GetParameter"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetParameter</span> (line <span class="line-number">536</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the parameter of the given name, returning a single PhpiCalLib object</p>
<p class="description"><p>If there are multiple parameters of the given name, it will just return the first</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> PhpiCalLib_Parameter object, or null if the parameter value isn't specified</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetParameter
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$Type</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Name</span><span class="var-description">: The name of the parameter to return</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$Type</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetParameters" id="GetParameters"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetParameters</span> (line <span class="line-number">497</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Access the parameters</p>
	<ul class="tags">
				<li><span class="field">return:</span> of PhpiCalLib_Parameter objects</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			GetParameters
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$Type</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Name</span><span class="var-description">: If not null, specifies the name of the properties to return.  If empty, all parameters                      will be returned</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$Type</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetType" id="GetType"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetType</span> (line <span class="line-number">465</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Access the property type</p>
<p class="description"><p>Note this will return PHPICALLIB_PROPERTY_IANAPROP or PHPICALLIB_PROPERTY_XPROP for properties  that it doesn't recognize.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">PHPICALLIB_PROPERTY_*</span>
		<span class="method-name">
			GetType
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodRemoveParameter" id="RemoveParameter"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">RemoveParameter</span> (line <span class="line-number">633</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes all parameters of the given name</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">
			RemoveParameter
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$Type</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Name</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$Type</span>			</li>
				</ul>
		
			
	</div>
<a name="methodRemoveParameterPermitted" id="RemoveParameterPermitted"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">RemoveParameterPermitted</span> (line <span class="line-number">908</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Determine if we are allowed to remove the given parameter</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			RemoveParameterPermitted
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$Type</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$Name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$Type</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetEncodedValue" id="SetEncodedValue"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SetEncodedValue</span> (line <span class="line-number">687</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the property value by specifying the encoded value</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">
			SetEncodedValue
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$Value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Value</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_TextProperty.html#methodSetEncodedValue">PhpiCalLib_Properties_TextProperty::SetEncodedValue()</a>
								: Overridden to do extra parsing to extract the $TextValue
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DateOrDateTimeProperty.html#methodSetEncodedValue">PhpiCalLib_Properties_DateOrDateTimeProperty::SetEncodedValue()</a>
								: Overridden to do extra parsing to extract the $TextValue
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_DateTimeProperty.html#methodSetEncodedValue">PhpiCalLib_Properties_DateTimeProperty::SetEncodedValue()</a>
								: Overridden to make sure that the value is a valid date-time token
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_VersionProperty.html#methodSetEncodedValue">PhpiCalLib_Properties_VersionProperty::SetEncodedValue()</a>
								: Overridden to provide extra validation
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_CalscaleProperty.html#methodSetEncodedValue">PhpiCalLib_Properties_CalscaleProperty::SetEncodedValue()</a>
								: Overridden to provide extra validation
							</li>
					<li>
				<a href="../PhpiCalLib/PhpiCalLib_Properties_MethodProperty.html#methodSetEncodedValue">PhpiCalLib_Properties_MethodProperty::SetEncodedValue()</a>
								: Overridden to make sure the token matches iana-token
							</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">432</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the new name for the property</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">$Name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$Name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetParameter" id="SetParameter"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SetParameter</span> (line <span class="line-number">600</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes all existing parameters of the given name, and adds the given parameter</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">
			SetParameter
		</span>
					(<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$Parameter</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>
				<span class="var-name">$Parameter</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetParameterPermitted" id="SetParameterPermitted"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">SetParameterPermitted</span> (line <span class="line-number">844</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Determine if the given parameter can be changed</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetParameterPermitted
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$Parameter</span>, <span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>&nbsp;<span class="var-name">$ContentLine</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../PhpiCalLib/PhpiCalLib_Parameter.html">PhpiCalLib_Parameter</a></span>
				<span class="var-name">$ContentLine</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$Parameter</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetParameters" id="SetParameters"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SetParameters</span> (line <span class="line-number">568</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the parameters</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">
			SetParameters
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$aParameters</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aParameters</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetType" id="SetType"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">SetType</span> (line <span class="line-number">474</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the type of the content line</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetType
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$Type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$Type</span>			</li>
				</ul>
		
			
	</div>
<a name="methodToContentLines" id="ToContentLines"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">ToContentLines</span> (line <span class="line-number">325</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert a string to a list of content lines</p>
	<ul class="tags">
				<li><span class="field">return:</span> An ordered list of content lines</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			ToContentLines
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$iCalString</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$String</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$String</span><span class="var-description">: A string of iCalendar data that represents a set of content lines</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$iCalString</span>			</li>
				</ul>
		
			
	</div>
<a name="methodToString" id="ToString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">ToString</span> (line <span class="line-number">822</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert the content line to a string</p>
	<ul class="tags">
				<li><span class="field">return:</span> string representation in the default code page</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">A</span>
		<span class="method-name">
			ToString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 01 Apr 2008 01:07:08 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>
Return current item: PhpiCalLib