Skip to content
Browse files

Auto set marketing fields in newCustomer. Updated docs.

  • Loading branch information...
1 parent 09ed257 commit a2dfc47014e036963b9cf661759f2e37764022dd @marcguyer committed
View
52 Client.php
@@ -41,6 +41,12 @@ class CheddarGetter_Client {
private $_productId;
/**
+ * @var string Name to use for the marketing cookie
+ * @see setMarketingCookie
+ */
+ private $_marketingCookieName = 'CGMK';
+
+ /**
* If you don't use Zend Framework, it's ok, the client will fallback to curl (so you need curl).
*
* @var Zend_Http_Client
@@ -166,6 +172,28 @@ public function getProductId() {
}
/**
+ * Set name for marketing metrics cookie
+ *
+ * @see setMarketingCookie
+ * @param $name string
+ * @return CheddarGetter_Client
+ */
+ public function setMarketingCookieName($name) {
+ $this->_marketingCookieName = $name;
+ return $this;
+ }
+
+ /**
+ * Get marketing cookie name
+ *
+ * @see setMarketingCookie
+ * @return string
+ */
+ public function getMarketingCookieName() {
+ return $this->_marketingCookieName;
+ }
+
+ /**
* Magic method wrapper
*
* Essentially just a sanity check making sure we have a productCode for those methods that require it
@@ -331,11 +359,33 @@ public function getAllCustomers(array $filters = null) {
* Create new customer
*
* @link https://cheddargetter.com/developers#add-customer
+ * @see setMarketingCookie
* @param array|null $data {@link https://cheddargetter.com/developers#add-customer}
* @return CheddarGetter_Response
* @throws CheddarGetter_Response_Exception
*/
public function newCustomer(array $data) {
+
+ if (isset($_COOKIE[$this->getMarketingCookieName()])) {
+ // if there's marketing cookie information, add it to the data
+ $marketingFields = array(
+ 'firstContactDatetime',
+ 'referer',
+ 'campaignTerm',
+ 'campaignName',
+ 'campaignSource',
+ 'campaignMedium',
+ 'campaignContent'
+ );
+ $intersect = array_intersect($marketingFields, array_keys($data));
+ if (empty($intersect)) {
+ $cookieData = json_decode($_COOKIE[$this->getMarketingCookieName()]);
+ foreach ($marketingFields as $f) {
+ $data[$f] = $cookieData->{$f};
+ }
+ }
+ }
+
return new CheddarGetter_Response($this->request('/customers/new', $data));
}
@@ -678,7 +728,7 @@ private function _requireIdentifier($code, $id) {
* {@link http://support.cheddargetter.com/faqs/marketing-metrics/marketing-metrics More about CheddarGetter's marketing metrics tracking }
*
* @see newCustomer
- * @param string $name
+ * @param string $cookieName
* @param int $expire
* @param string $path
* @param string $domain
View
171 docs/CheddarGetter/CheddarGetter_Client.html
@@ -51,13 +51,13 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<div class="info-box-body">
<div class="method-summary">
- <div class="method-definition">
+ <div class="method-definition">
<img src="../media/images/StaticMethod.png" alt=" "/>
static <span class="method-result">void</span>
<a href="#setMarketingCookie" title="details" class="method-name">setMarketingCookie</a>
- ([<span class="var-type"></span>&nbsp;<span class="var-name">$cookieName</span> = <span class="var-default">'CGMK'</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span> = <span class="var-default">'/'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$domain</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$secure</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$httpOnly</span> = <span class="var-default">false</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
+ ([<span class="var-type">string</span>&nbsp;<span class="var-name">$cookieName</span> = <span class="var-default">'CGMK'</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span> = <span class="var-default">'/'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$domain</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$secure</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$httpOnly</span> = <span class="var-default">false</span>])
</div>
- <div class="method-definition">
+ <div class="method-definition">
<img src="../media/images/Constructor.png" alt=" "/>
<span class="method-result">CheddarGetter_Client</span>
<a href="#__construct" title="details" class="method-name">__construct</a>
@@ -143,6 +143,12 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<div class="method-definition">
<img src="../media/images/Method.png" alt=" "/>
+ <span class="method-result">string</span>
+ <a href="#getMarketingCookieName" title="details" class="method-name">getMarketingCookieName</a>
+ ()
+ </div>
+ <div class="method-definition">
+ <img src="../media/images/Method.png" alt=" "/>
<span class="method-result"><a href="../CheddarGetter/CheddarGetter_Response.html">CheddarGetter_Response</a></span>
<a href="#getPlan" title="details" class="method-name">getPlan</a>
(<span class="var-type">string</span>&nbsp;<span class="var-name">$code</span>, [<span class="var-type">string|null</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>])
@@ -210,6 +216,12 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-definition">
<img src="../media/images/Method.png" alt=" "/>
<span class="method-result"><a href="../CheddarGetter/CheddarGetter_Client.html">CheddarGetter_Client</a></span>
+ <a href="#setMarketingCookieName" title="details" class="method-name">setMarketingCookieName</a>
+ (<span class="var-type">$name</span>&nbsp;<span class="var-name">$name</span>)
+ </div>
+ <div class="method-definition">
+ <img src="../media/images/Method.png" alt=" "/>
+ <span class="method-result"><a href="../CheddarGetter/CheddarGetter_Client.html">CheddarGetter_Client</a></span>
<a href="#setPassword" title="details" class="method-name">setPassword</a>
(<span class="var-type">$password</span>&nbsp;<span class="var-name">$password</span>)
</div>
@@ -263,7 +275,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/StaticMethod.png" />
- <span class="method-title">static setMarketingCookie</span> (line <span class="line-number">689</span>)
+ <span class="method-title">static setMarketingCookie</span> (line <span class="line-number">739</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -280,13 +292,13 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<span class="method-name">
setMarketingCookie
</span>
- ([<span class="var-type"></span>&nbsp;<span class="var-name">$cookieName</span> = <span class="var-default">'CGMK'</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span> = <span class="var-default">'/'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$domain</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$secure</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$httpOnly</span> = <span class="var-default">false</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
+ ([<span class="var-type">string</span>&nbsp;<span class="var-name">$cookieName</span> = <span class="var-default">'CGMK'</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$expire</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span> = <span class="var-default">'/'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$domain</span> = <span class="var-default">null</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$secure</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$httpOnly</span> = <span class="var-default">false</span>])
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
- <span class="var-name">$name</span> </li>
+ <span class="var-name">$cookieName</span> </li>
<li>
<span class="var-type">int</span>
<span class="var-name">$expire</span> </li>
@@ -302,9 +314,6 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<li>
<span class="var-type">bool</span>
<span class="var-name">$httpOnly</span> </li>
- <li>
- <span class="var-type"></span>
- <span class="var-name">$cookieName</span> </li>
</ul>
@@ -314,7 +323,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Constructor.png" />
- <span class="method-title">Constructor __construct</span> (line <span class="line-number">58</span>)
+ <span class="method-title">Constructor __construct</span> (line <span class="line-number">64</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -356,7 +365,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">addCharge</span> (line <span class="line-number">531</span>)
+ <span class="method-title">addCharge</span> (line <span class="line-number">581</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -395,7 +404,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">addItemQuantity</span> (line <span class="line-number">469</span>)
+ <span class="method-title">addItemQuantity</span> (line <span class="line-number">519</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -433,7 +442,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">cancelSubscription</span> (line <span class="line-number">450</span>)
+ <span class="method-title">cancelSubscription</span> (line <span class="line-number">500</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -468,7 +477,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">deleteCustomer</span> (line <span class="line-number">391</span>)
+ <span class="method-title">deleteCustomer</span> (line <span class="line-number">441</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -503,7 +512,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">deleteCustomers</span> (line <span class="line-number">413</span>)
+ <span class="method-title">deleteCustomers</span> (line <span class="line-number">463</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -539,7 +548,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">deletePlan</span> (line <span class="line-number">270</span>)
+ <span class="method-title">deletePlan</span> (line <span class="line-number">298</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -573,7 +582,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">editCustomer</span> (line <span class="line-number">352</span>)
+ <span class="method-title">editCustomer</span> (line <span class="line-number">402</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -611,7 +620,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">editCustomerOnly</span> (line <span class="line-number">372</span>)
+ <span class="method-title">editCustomerOnly</span> (line <span class="line-number">422</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -649,7 +658,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">editSubscription</span> (line <span class="line-number">431</span>)
+ <span class="method-title">editSubscription</span> (line <span class="line-number">481</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -687,7 +696,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getAllCustomers</span> (line <span class="line-number">319</span>)
+ <span class="method-title">getAllCustomers</span> (line <span class="line-number">347</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -720,7 +729,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getCustomer</span> (line <span class="line-number">302</span>)
+ <span class="method-title">getCustomer</span> (line <span class="line-number">330</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -755,7 +764,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getCustomers</span> (line <span class="line-number">289</span>)
+ <span class="method-title">getCustomers</span> (line <span class="line-number">317</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -788,7 +797,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getHttpClient</span> (line <span class="line-number">652</span>)
+ <span class="method-title">getHttpClient</span> (line <span class="line-number">702</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -808,12 +817,38 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
-<a name="methodgetPlan" id="getPlan"><!-- --></a>
+<a name="methodgetMarketingCookieName" id="getMarketingCookieName"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getPlan</span> (line <span class="line-number">219</span>)
+ <span class="method-title">getMarketingCookieName</span> (line <span class="line-number">192</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Get marketing cookie name</p>
+ <ul class="tags">
+ <li><span class="field">see:</span> <a href="../CheddarGetter/CheddarGetter_Client.html#methodsetMarketingCookie">CheddarGetter_Client::setMarketingCookie()</a></li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result">string</span>
+ <span class="method-name">
+ getMarketingCookieName
+ </span>
+ ()
+ </div>
+
+
+
+ </div>
+<a name="methodgetPlan" id="getPlan"><!-- --></a>
+<div class="evenrow">
+
+ <div class="method-header">
+ <img src="../media/images/Method.png" />
+ <span class="method-title">getPlan</span> (line <span class="line-number">247</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -844,11 +879,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodgetPlans" id="getPlans"><!-- --></a>
-<div class="evenrow">
+<div class="oddrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getPlans</span> (line <span class="line-number">206</span>)
+ <span class="method-title">getPlans</span> (line <span class="line-number">234</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -877,11 +912,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodgetProductCode" id="getProductCode"><!-- --></a>
-<div class="oddrow">
+<div class="evenrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getProductCode</span> (line <span class="line-number">144</span>)
+ <span class="method-title">getProductCode</span> (line <span class="line-number">150</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -902,11 +937,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodgetProductId" id="getProductId"><!-- --></a>
-<div class="evenrow">
+<div class="oddrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getProductId</span> (line <span class="line-number">164</span>)
+ <span class="method-title">getProductId</span> (line <span class="line-number">170</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -927,11 +962,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodgetUrl" id="getUrl"><!-- --></a>
-<div class="oddrow">
+<div class="evenrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getUrl</span> (line <span class="line-number">84</span>)
+ <span class="method-title">getUrl</span> (line <span class="line-number">90</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -952,11 +987,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodgetUsername" id="getUsername"><!-- --></a>
-<div class="evenrow">
+<div class="oddrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">getUsername</span> (line <span class="line-number">104</span>)
+ <span class="method-title">getUsername</span> (line <span class="line-number">110</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -977,16 +1012,17 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodnewCustomer" id="newCustomer"><!-- --></a>
-<div class="oddrow">
+<div class="evenrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">newCustomer</span> (line <span class="line-number">338</span>)
+ <span class="method-title">newCustomer</span> (line <span class="line-number">367</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create new customer</p>
<ul class="tags">
+ <li><span class="field">see:</span> <a href="../CheddarGetter/CheddarGetter_Client.html#methodsetMarketingCookie">CheddarGetter_Client::setMarketingCookie()</a></li>
<li><span class="field">link:</span> <a href="https://cheddargetter.com/developers#add-customer">https://cheddargetter.com/developers#add-customer</a></li>
<li><span class="field">throws:</span> CheddarGetter_Response_Exception</li>
<li><span class="field">access:</span> public</li>
@@ -1009,11 +1045,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodremoveItemQuantity" id="removeItemQuantity"><!-- --></a>
-<div class="evenrow">
+<div class="oddrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">removeItemQuantity</span> (line <span class="line-number">489</span>)
+ <span class="method-title">removeItemQuantity</span> (line <span class="line-number">539</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1047,11 +1083,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodrequest" id="request"><!-- --></a>
-<div class="oddrow">
+<div class="evenrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">request</span> (line <span class="line-number">549</span>)
+ <span class="method-title">request</span> (line <span class="line-number">599</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1082,11 +1118,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodsetHttpClient" id="setHttpClient"><!-- --></a>
-<div class="evenrow">
+<div class="oddrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">setHttpClient</span> (line <span class="line-number">638</span>)
+ <span class="method-title">setHttpClient</span> (line <span class="line-number">688</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1113,11 +1149,11 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<a name="methodsetItemQuantity" id="setItemQuantity"><!-- --></a>
-<div class="oddrow">
+<div class="evenrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">setItemQuantity</span> (line <span class="line-number">509</span>)
+ <span class="method-title">setItemQuantity</span> (line <span class="line-number">559</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1150,12 +1186,43 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
+<a name="methodsetMarketingCookieName" id="setMarketingCookieName"><!-- --></a>
+<div class="oddrow">
+
+ <div class="method-header">
+ <img src="../media/images/Method.png" />
+ <span class="method-title">setMarketingCookieName</span> (line <span class="line-number">181</span>)
+ </div>
+
+ <!-- ========== Info from phpDoc block ========= -->
+<p class="short-description">Set name for marketing metrics cookie</p>
+ <ul class="tags">
+ <li><span class="field">see:</span> <a href="../CheddarGetter/CheddarGetter_Client.html#methodsetMarketingCookie">CheddarGetter_Client::setMarketingCookie()</a></li>
+ <li><span class="field">access:</span> public</li>
+ </ul>
+
+ <div class="method-signature">
+ <span class="method-result"><a href="../CheddarGetter/CheddarGetter_Client.html">CheddarGetter_Client</a></span>
+ <span class="method-name">
+ setMarketingCookieName
+ </span>
+ (<span class="var-type">$name</span>&nbsp;<span class="var-name">$name</span>)
+ </div>
+
+ <ul class="parameters">
+ <li>
+ <span class="var-type">$name</span>
+ <span class="var-name">$name</span><span class="var-description">: string</span> </li>
+ </ul>
+
+
+ </div>
<a name="methodsetPassword" id="setPassword"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">setPassword</span> (line <span class="line-number">114</span>)
+ <span class="method-title">setPassword</span> (line <span class="line-number">120</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1185,7 +1252,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">setProductCode</span> (line <span class="line-number">134</span>)
+ <span class="method-title">setProductCode</span> (line <span class="line-number">140</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1215,7 +1282,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">setProductId</span> (line <span class="line-number">154</span>)
+ <span class="method-title">setProductId</span> (line <span class="line-number">160</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1245,7 +1312,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">setUrl</span> (line <span class="line-number">74</span>)
+ <span class="method-title">setUrl</span> (line <span class="line-number">80</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1275,7 +1342,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">setUsername</span> (line <span class="line-number">94</span>)
+ <span class="method-title">setUsername</span> (line <span class="line-number">100</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1305,7 +1372,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<div class="method-header">
<img src="../media/images/Method.png" />
- <span class="method-title">__call</span> (line <span class="line-number">176</span>)
+ <span class="method-title">__call</span> (line <span class="line-number">204</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
@@ -1340,7 +1407,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:17 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:56 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 docs/CheddarGetter/CheddarGetter_Client_Exception.html
@@ -304,7 +304,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 docs/CheddarGetter/CheddarGetter_Response.html
@@ -1161,7 +1161,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 docs/CheddarGetter/CheddarGetter_Response_Exception.html
@@ -592,7 +592,7 @@ <h2 class="class-name"><img src="../media/images/Class_logo.png"
</div>
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 docs/CheddarGetter/_Client---Exception.php.html
@@ -60,7 +60,7 @@ <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style=
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 docs/CheddarGetter/_Client.php.html
@@ -60,7 +60,7 @@ <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style=
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:17 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:56 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 docs/CheddarGetter/_Response---Exception.php.html
@@ -60,7 +60,7 @@ <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style=
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 docs/CheddarGetter/_Response.php.html
@@ -60,7 +60,7 @@ <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style=
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>
View
2 ..._argetter_library_CheddarGetter_example_example.php_b47f986942834425d506870489306804.html
@@ -145,7 +145,7 @@
</ol></div>
</div>
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:56 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</body>
</html>
View
2 docs/classtrees_CheddarGetter.html
@@ -26,7 +26,7 @@
<li><a href="CheddarGetter/CheddarGetter_Client_Exception.html">CheddarGetter_Client_Exception</a></li><li><a href="CheddarGetter/CheddarGetter_Response_Exception.html">CheddarGetter_Response_Exception</a></li></ul>
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:17 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:56 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</body>
</html>
View
24 docs/elementindex.html
@@ -237,16 +237,16 @@
<span class="method-title">getCustomer</span>
</dt>
<dd class="index-item-body">
- <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Response.html#methodgetCustomer">CheddarGetter_Response::getCustomer()</a> in Response.php</div>
- <div class="index-item-description">Get an array representation of a single customer node</div>
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodgetCustomer">CheddarGetter_Client::getCustomer()</a> in Client.php</div>
+ <div class="index-item-description">Get a single customer</div>
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
<span class="method-title">getCustomer</span>
</dt>
<dd class="index-item-body">
- <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodgetCustomer">CheddarGetter_Client::getCustomer()</a> in Client.php</div>
- <div class="index-item-description">Get a single customer</div>
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Response.html#methodgetCustomer">CheddarGetter_Response::getCustomer()</a> in Response.php</div>
+ <div class="index-item-description">Get an array representation of a single customer node</div>
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
@@ -385,6 +385,14 @@
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
+ <span class="method-title">getMarketingCookieName</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodgetMarketingCookieName">CheddarGetter_Client::getMarketingCookieName()</a> in Client.php</div>
+ <div class="index-item-description">Get marketing cookie name</div>
+ </dd>
+ <dt class="field">
+ <img src="media/images/Method.png" alt="Method" title="Method" />
<span class="method-title">getPlan</span>
</dt>
<dd class="index-item-body">
@@ -654,6 +662,14 @@
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
+ <span class="method-title">setMarketingCookieName</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodsetMarketingCookieName">CheddarGetter_Client::setMarketingCookieName()</a> in Client.php</div>
+ <div class="index-item-description">Set name for marketing metrics cookie</div>
+ </dd>
+ <dt class="field">
+ <img src="media/images/Method.png" alt="Method" title="Method" />
<span class="method-title">setPassword</span>
</dt>
<dd class="index-item-body">
View
24 docs/elementindex_CheddarGetter.html
@@ -288,16 +288,16 @@
<span class="method-title">getCustomer</span>
</dt>
<dd class="index-item-body">
- <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Response.html#methodgetCustomer">CheddarGetter_Response::getCustomer()</a> in Response.php</div>
- <div class="index-item-description">Get an array representation of a single customer node</div>
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodgetCustomer">CheddarGetter_Client::getCustomer()</a> in Client.php</div>
+ <div class="index-item-description">Get a single customer</div>
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
<span class="method-title">getCustomer</span>
</dt>
<dd class="index-item-body">
- <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodgetCustomer">CheddarGetter_Client::getCustomer()</a> in Client.php</div>
- <div class="index-item-description">Get a single customer</div>
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Response.html#methodgetCustomer">CheddarGetter_Response::getCustomer()</a> in Response.php</div>
+ <div class="index-item-description">Get an array representation of a single customer node</div>
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
@@ -436,6 +436,14 @@
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
+ <span class="method-title">getMarketingCookieName</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodgetMarketingCookieName">CheddarGetter_Client::getMarketingCookieName()</a> in Client.php</div>
+ <div class="index-item-description">Get marketing cookie name</div>
+ </dd>
+ <dt class="field">
+ <img src="media/images/Method.png" alt="Method" title="Method" />
<span class="method-title">getPlan</span>
</dt>
<dd class="index-item-body">
@@ -705,6 +713,14 @@
</dd>
<dt class="field">
<img src="media/images/Method.png" alt="Method" title="Method" />
+ <span class="method-title">setMarketingCookieName</span>
+ </dt>
+ <dd class="index-item-body">
+ <div class="index-item-details"><a href="CheddarGetter/CheddarGetter_Client.html#methodsetMarketingCookieName">CheddarGetter_Client::setMarketingCookieName()</a> in Client.php</div>
+ <div class="index-item-description">Set name for marketing metrics cookie</div>
+ </dd>
+ <dt class="field">
+ <img src="media/images/Method.png" alt="Method" title="Method" />
<span class="method-title">setPassword</span>
</dt>
<dd class="index-item-body">
View
2 docs/errors.html
@@ -19,7 +19,7 @@
<h2>Warnings:</h2><br>
<b>Warning on line 131</b> - File "/home/marcguyer/cheddargetter/library/CheddarGetter/example/example.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</body>
</html>
View
2 docs/index.html
@@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <!-- Generated by phpDocumentor on Tue, 09 Nov 2010 21:13:17 +0000 -->
+ <!-- Generated by phpDocumentor on Tue, 09 Nov 2010 21:39:56 +0000 -->
<title>Generated Documentation</title>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
View
2 docs/ric_README.html
@@ -52,7 +52,7 @@
</pre>
<p class="notes" id="credit">
- Documentation generated on Tue, 09 Nov 2010 21:13:17 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
+ Documentation generated on Tue, 09 Nov 2010 21:39:56 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</body>
</html>

0 comments on commit a2dfc47

Please sign in to comment.
Something went wrong with that request. Please try again.