-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEbXCAeh4tnJbE5ao1VRlr7kRfYEkFAmFJsQYACgkQVRlr7kRf
 YElccgv/aGO9NlhExmL3VfWCYcWZWrHxUEJQoQSLgtAodhDGT56reqV2X0/W8Cjx
 YVLtWOPLtNFyUDOqrg+19u+2F1AjvO0KiGKO5SngV8dEiFj3JfLfD8/DsKtPgi7b
 k3u3r8MBw9d4+cHEiQSH9+Zizsh/T1nJYQaBpNxIv6IW9vtUiIAm+6Y4xH323v/g
 DBHF1hWe5a0Xf1AX05Oqmdmkk6IGacAZtzEbs/lHXPRz0gZRd2QTs5ZlaUAPZoCV
 El/wtpiRqbeH1bg2juN+mvq/+MZzGVduWlWWzPOjcn/ZJsKhRowTF3x5D/fFEbmI
 EqkZ7ymeMWDR87vnUUwx6Zl3lKtsFdlmI7vR+nCbqysiaivYQx1NIebpezG+lps0
 WJhg4bMFr1y3Dp7blkPotNfvQqX5oxBH5YJJeAf7AGKUEzdIrmAY1meRGfv9q3Wv
 /IXNvk8m2Su92L1iYm3IBfsuDqUqOF7mzpNd52t2yZJOeWwIZ+Y6wxrLzfuifxSO
 QSxi5aAi
 =woLk
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEbXCAeh4tnJbE5ao1VRlr7kRfYEkFAmFJsTAACgkQVRlr7kRf
 YEkkKgv+N3YuZul1ut7VhODc1MPCfBIiZEU8Z59vFBqKyyEDZID80By1WTmLIvfu
 WCW2lJWjWbgoT3iuvm9rh5a7+iDKyISdl0JBuCgyUFTRYnOjrACUA8+pQ2t2Uobn
 lH4O3NwMJyVpbg28SXyeIn0oVPNLZb2qEBbMZs7loZuRomd1eVSzJweZDlpNMyIf
 lgekUO1M1FoaAeobRyYewB9UqlxNcjTeIcrKbUHW+RUBdrIXScLk1KVymSq47Sfh
 a8jivB7tClG26/46pobNPIHXthF/oLLf2DFIVXnTx8itGp0OPaWHtFgmSWHu1Lj7
 8DafPAuWsVzrRfNbP/NCIzy9k04MvU0JN2zyqLmOXzld3cOXCLzGSD/uzsG/dskY
 Af8RnB6cdCZB7mjZLeDIyS9IAOQj0cWHh5u+OEQDEJxG4kgHrLJ5qgh96rDAdioT
 5bduORjj9Xsf6Ima8NXvwnT46IqxKmJjGpCLkBNd5DuTJTLBtrZM8II3gRo804os
 YeqbbI+P
 =v04M
 -----END PGP SIGNATURE-----

Merge tag '2.1.8'

2.1.8
This commit is contained in:
Jérémy Munsch 2021-09-21 12:17:19 +02:00
commit 59bee34d45
87 changed files with 8787 additions and 352 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.1.7",
"version": "2.1.8",
"tokenTimeout": 60,
"apiRequestRatePerMinute": 256,
"servicesDBCache": 10

View file

@ -3,7 +3,7 @@
"type": "library",
"description": "LDC CRM Client V2",
"license": "MIT",
"version": "2.1.7",
"version": "2.1.8",
"authors": [
{
"name": "Jérémy Munsch",

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -147,7 +149,7 @@
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomer">getCustomer()</a>
<span>
&nbsp;: <a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a> </span>
&nbsp;: <a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a>|null </span>
</dt>
<dd>Get a customer from its hashcode or email
If it does not exists a new instance
@ -171,6 +173,13 @@ to call its save method later on.</dd>
</dt>
<dd>Get all segmentation questions</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-CrmApiV2.html#method_login">login()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Test a customer credentials to see if it can login</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-CrmApiV2.html#method_ping">ping()</a>
<span>
@ -257,11 +266,38 @@ to call its save method later on.</dd>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$endpoint</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bearerToken</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bearerPwd</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<section class="phpdocumentor-description"></section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$endpoint</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$bearerToken</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$bearerPwd</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
@ -283,7 +319,7 @@ to call its save method later on.</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/CrmApiV2.php"><a href="files/src-crmapiv2.html"><abbr title="src/CrmApiV2.php">CrmApiV2.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">66</span>
<span class="phpdocumentor-element-found-in__line">80</span>
</aside>
@ -294,7 +330,7 @@ to call its save method later on.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getCustomer</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$identification</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a></span></code>
<span class="phpdocumentor-signature__name">getCustomer</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$identification</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a>|null</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@ -311,11 +347,39 @@ to call its save method later on.</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a></span>
<span class="phpdocumentor-signature__response_type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a>|null</span>
&mdash;
<section class="phpdocumentor-description"><p>Return null if the customer was not found</p>
</section>
</article>
<article
@ -331,7 +395,7 @@ to call its save method later on.</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/CrmApiV2.php"><a href="files/src-crmapiv2.html"><abbr title="src/CrmApiV2.php">CrmApiV2.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">52</span>
<span class="phpdocumentor-element-found-in__line">62</span>
</aside>
@ -359,6 +423,32 @@ to call its save method later on.</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a></span>
@ -379,7 +469,7 @@ to call its save method later on.</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/CrmApiV2.php"><a href="files/src-crmapiv2.html"><abbr title="src/CrmApiV2.php">CrmApiV2.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">77</span>
<span class="phpdocumentor-element-found-in__line">95</span>
</aside>
@ -404,12 +494,114 @@ to call its save method later on.</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_login">
login()
<a href="classes/LDC-LDCCRM-CrmApiV2.html#method_login" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/CrmApiV2.php"><a href="files/src-crmapiv2.html"><abbr title="src/CrmApiV2.php">CrmApiV2.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">128</span>
</aside>
<p class="phpdocumentor-summary">Test a customer credentials to see if it can login</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">login</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$email</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$password</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$email</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$password</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
</article>
<article
class="phpdocumentor-element
@ -424,7 +616,7 @@ to call its save method later on.</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/CrmApiV2.php"><a href="files/src-crmapiv2.html"><abbr title="src/CrmApiV2.php">CrmApiV2.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">36</span>
<span class="phpdocumentor-element-found-in__line">42</span>
</aside>
@ -437,6 +629,22 @@ to call its save method later on.</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
@ -457,7 +665,7 @@ to call its save method later on.</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/CrmApiV2.php"><a href="files/src-crmapiv2.html"><abbr title="src/CrmApiV2.php">CrmApiV2.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">90</span>
<span class="phpdocumentor-element-found-in__line">112</span>
</aside>
@ -501,6 +709,26 @@ to call its save method later on.</p>
<section class="phpdocumentor-description"><p>ApiError::singleOptinCustomerExists If single optin already exists</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -115,7 +117,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/ApiError.php"><a href="files/src-enums-apierror.html"><abbr title="src/Enums/ApiError.php">ApiError.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">58</span>
<span class="phpdocumentor-element-found-in__line">68</span>
</aside>
@ -162,6 +164,13 @@
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-ApiError.html#method_authorizationException">authorizationException()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
@ -197,6 +206,13 @@
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-ApiError.html#method_missingParameter">missingParameter()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
@ -324,6 +340,43 @@ check into config or .env file for your brand credentials</p>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_authorizationException">
authorizationException()
<a href="classes/LDC-LDCCRM-Enums-ApiError.html#method_authorizationException" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/ApiError.php"><a href="files/src-enums-apierror.html"><abbr title="src/Enums/ApiError.php">ApiError.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">authorizationException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>You are maybe trying to access data that is out of your range.
This should not happen normally, it is here to allow you to handle this case.
If this happens fill a ticket on https://supportweb.ldc.fr
with some technical details</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
@ -447,7 +500,7 @@ this action</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/ApiError.php"><a href="files/src-enums-apierror.html"><abbr title="src/Enums/ApiError.php">ApiError.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">78</span>
<span class="phpdocumentor-element-found-in__line">90</span>
</aside>
@ -495,6 +548,40 @@ this action</p>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_missingParameter">
missingParameter()
<a href="classes/LDC-LDCCRM-Enums-ApiError.html#method_missingParameter" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/ApiError.php"><a href="files/src-enums-apierror.html"><abbr title="src/Enums/ApiError.php">ApiError.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">missingParameter</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>The request is missing some parameters</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
@ -628,7 +715,8 @@ but it already exists</p>
<section class="phpdocumentor-description"><p>Too many requests have been attempted. The is a throttle security.
Normally you should not trigger this.
If this happens fill a ticket on https://supportweb.ldc.fr</p>
If this happens fill a ticket on https://supportweb.ldc.fr
with some technical details</p>
</section>
@ -688,7 +776,7 @@ you may have to look into message to get the details</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/ApiError.php"><a href="files/src-enums-apierror.html"><abbr title="src/Enums/ApiError.php">ApiError.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">60</span>
<span class="phpdocumentor-element-found-in__line">70</span>
</aside>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -0,0 +1,625 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc.html">LDC</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc-ldccrm.html">LDCCRM</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc-ldccrm-enums.html">Enums</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
LogLevel
<span class="phpdocumentor-element__extends">
extends <abbr title="\Kwaadpepper\Enum\BaseEnum">BaseEnum</abbr>
</span>
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/LDCCrmClient.html">LDCCrmClient</a></li>
<li class="phpdocumentor-breadcrumb"><a href="packages/LDCCrmClient-enums.html">enums</a></li>
</ul>
</div>
</h2>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">20</span>
</aside>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">subpackage</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>enums</p>
</section>
</dd>
</dl>
<h3 id="toc">
Table of Contents
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_ALERT">ALERT()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_CRIT">CRIT()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_DEBUG">DEBUG()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_EMERG">EMERG()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_ERR">ERR()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_INFO">INFO()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_NOTICE">NOTICE()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_WARNING">WARNING()</a>
<span>
&nbsp;: <a href=""><abbr title=""></abbr></a> </span>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_values">values()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd></dd>
</dl>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_ALERT">
ALERT()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_ALERT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">ALERT</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>action must be taken immediately</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_CRIT">
CRIT()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_CRIT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">CRIT</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>critical conditions</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_DEBUG">
DEBUG()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_DEBUG" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">DEBUG</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>debug-level message</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_EMERG">
EMERG()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_EMERG" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">EMERG</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>system is unusable</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_ERR">
ERR()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_ERR" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">ERR</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>critical conditions</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_INFO">
INFO()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_INFO" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">INFO</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>informational message</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_NOTICE">
NOTICE()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_NOTICE" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">NOTICE</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>normal, but significant, condition</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_WARNING">
WARNING()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_WARNING" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">0</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">WARNING</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span></code>
<section class="phpdocumentor-description"><p>critical conditions</p>
</section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href=""><abbr title=""></abbr></a></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="method_values">
values()
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#method_values" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Enums/LogLevel.php"><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">22</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">values</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<section class="phpdocumentor-description"></section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
</article>
</section>
<script type="text/javascript">
function loadExternalCodeSnippets(line) {
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
var language = 'php';
var code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
}
else if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
}
else {
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
}
}
};
xhr.send(null);
});
}
var modals = document.querySelectorAll("[data-modal]");
modals.forEach(function (trigger) {
trigger.addEventListener("click", function (event) {
//event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippets(trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
</script>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="classes/LDC-LDCCRM-Enums-LogLevel.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -230,12 +232,19 @@ It has a method to submit answers</p>
</dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Answer.html#method_jsonSerialize">jsonSerialize()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Serialize this object to an array</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Answer.html#method_setQuestionAnswers">setQuestionAnswers()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Get unanswered question for a specific customer</dd>
<dd>Set unanswered question for a specific customer</dd>
</dl>
@ -613,6 +622,39 @@ Field Type bigInt</p>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_jsonSerialize">
jsonSerialize()
<a href="classes/LDC-LDCCRM-Models-Answer.html#method_jsonSerialize" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Answer.php"><a href="files/src-models-answer.html"><abbr title="src/Models/Answer.php">Answer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">127</span>
</aside>
<p class="phpdocumentor-summary">Serialize this object to an array</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">jsonSerialize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
</article>
<article
class="phpdocumentor-element
@ -627,11 +669,11 @@ Field Type bigInt</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Answer.php"><a href="files/src-models-answer.html"><abbr title="src/Models/Answer.php">Answer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">89</span>
<span class="phpdocumentor-element-found-in__line">96</span>
</aside>
<p class="phpdocumentor-summary">Get unanswered question for a specific customer</p>
<p class="phpdocumentor-summary">Set unanswered question for a specific customer</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
@ -645,7 +687,8 @@ Field Type bigInt</p>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
<section class="phpdocumentor-description"><p>The customer hashcode</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
@ -653,7 +696,8 @@ Field Type bigInt</p>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
<section class="phpdocumentor-description"><p>The question id</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
@ -661,17 +705,46 @@ Field Type bigInt</p>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
<section class="phpdocumentor-description"><p>An array with answers id</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"><p>true if succeeded</p>
</section>
</article>
</section>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -301,6 +303,13 @@ the account validation status</p>
<dd>Fill data into this model
using validation rules</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_jsonSerialize">jsonSerialize()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Serialize this object to an array</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_send">send()</a>
<span>
@ -631,7 +640,7 @@ using validation rules</dd>
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$validation</span>
= <span class="phpdocumentor-signature__default-value">[&#039;operation&#039; =&gt; &#039;required|int&#039;, &#039;support_code&#039; =&gt; &#039;required|int&#039;, &#039;label_type_support&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;order_date&#039; =&gt; &#039;required|date&#039;, &#039;order_num&#039; =&gt; &#039;required|int&#039;, &#039;state_order&#039; =&gt; [&#039;required&#039;], &#039;package_unit_weight&#039; =&gt; &#039;required|int&#039;]</span></code>
= <span class="phpdocumentor-signature__default-value">[&#039;operation&#039; =&gt; &#039;required|int&#039;, &#039;support_code&#039; =&gt; &#039;required|int&#039;, &#039;label_type_support&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;order_date&#039; =&gt; &#039;required|date_format:Y/m/d H:i:s&#039;, &#039;order_num&#039; =&gt; &#039;required|int&#039;, &#039;state_order&#039; =&gt; [&#039;required&#039;], &#039;package_unit_weight&#039; =&gt; &#039;required|int&#039;]</span></code>
@ -1112,6 +1121,39 @@ using validation rules</p>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_jsonSerialize">
jsonSerialize()
<a href="classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_jsonSerialize" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/ArcadiaMailDefault.php"><a href="files/src-models-arcadiamaildefault.html"><abbr title="src/Models/ArcadiaMailDefault.php">ArcadiaMailDefault.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">263</span>
</aside>
<p class="phpdocumentor-summary">Serialize this object to an array</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">jsonSerialize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
</article>
<article
class="phpdocumentor-element
@ -1126,7 +1168,7 @@ using validation rules</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/ArcadiaMailDefault.php"><a href="files/src-models-arcadiamaildefault.html"><abbr title="src/Models/ArcadiaMailDefault.php">ArcadiaMailDefault.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">232</span>
<span class="phpdocumentor-element-found-in__line">236</span>
</aside>
@ -1150,6 +1192,32 @@ using validation rules</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -272,6 +274,13 @@ the account validation status</p>
</dt>
<dd>Set prop</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_jsonSerialize">jsonSerialize()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Serialize this object to an array</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_send">send()</a>
<span>
@ -562,7 +571,7 @@ Required</p>
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$validation</span>
= <span class="phpdocumentor-signature__default-value">[&#039;operation&#039; =&gt; &#039;required|int&#039;, &#039;support_code&#039; =&gt; &#039;required|int&#039;, &#039;label_type_support&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;order_date&#039; =&gt; &#039;required|date&#039;, &#039;code_unique&#039; =&gt; &#039;required|string&#039;, &#039;code_on_pack&#039; =&gt; &#039;sometimes|string&#039;]</span></code>
= <span class="phpdocumentor-signature__default-value">[&#039;operation&#039; =&gt; &#039;required|int&#039;, &#039;support_code&#039; =&gt; &#039;required|int&#039;, &#039;label_type_support&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;order_date&#039; =&gt; &#039;required|date_format:Y/m/d H:i:s&#039;, &#039;code_unique&#039; =&gt; &#039;required|string&#039;, &#039;code_on_pack&#039; =&gt; &#039;sometimes|string&#039;]</span></code>
@ -914,6 +923,39 @@ Required</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_jsonSerialize">
jsonSerialize()
<a href="classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_jsonSerialize" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/ArcadiaMailGame.php"><a href="files/src-models-arcadiamailgame.html"><abbr title="src/Models/ArcadiaMailGame.php">ArcadiaMailGame.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">180</span>
</aside>
<p class="phpdocumentor-summary">Serialize this object to an array</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">jsonSerialize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
</article>
<article
class="phpdocumentor-element
@ -928,7 +970,7 @@ Required</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/ArcadiaMailGame.php"><a href="files/src-models-arcadiamailgame.html"><abbr title="src/Models/ArcadiaMailGame.php">ArcadiaMailGame.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">149</span>
<span class="phpdocumentor-element-found-in__line">153</span>
</aside>
@ -952,6 +994,32 @@ Required</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -470,6 +472,20 @@ using validation rules</dd>
<dd>Find a customer using its email in the crm
This is an alias of Customer::find()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Customer.html#method_jsonSerialize">jsonSerialize()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Serialize this object to an array</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Customer.html#method_login">login()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Test customer credentials</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Customer.html#method_save">save()</a>
<span>
@ -1060,7 +1076,7 @@ at leat 1 special char</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">261</span>
<span class="phpdocumentor-element-found-in__line">258</span>
</aside>
@ -1094,7 +1110,7 @@ the should not be visible</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">248</span>
<span class="phpdocumentor-element-found-in__line">245</span>
</aside>
@ -1127,7 +1143,7 @@ the should not be visible</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">270</span>
<span class="phpdocumentor-element-found-in__line">267</span>
</aside>
@ -1137,7 +1153,7 @@ the should not be visible</p>
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$validation</span>
= <span class="phpdocumentor-signature__default-value">[&#039;hashcode&#039; =&gt; &#039;required|uuid&#039;, &#039;email&#039; =&gt; &#039;required|email:rfc,dns,spoof,filter&#039;, &#039;firstname&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;lastname&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;password&#039; =&gt; &#039;required|min:8|max:255&#039;, &#039;birth_date&#039; =&gt; &#039;required|date_format:Y-m-d&#039;, &#039;phone&#039; =&gt; &#039;sometimes|string|min:10|max:255&#039;, &#039;address&#039; =&gt; &#039;required|string|max:255&#039;, &#039;address2&#039; =&gt; &#039;sometimes|string|max:255&#039;, &#039;city&#039; =&gt; &#039;required|string|max:255&#039;, &#039;postcode&#039; =&gt; &#039;required|string|max:255&#039;, &#039;country&#039; =&gt; [&#039;sometimes&#039;], &#039;opt_in&#039; =&gt; &#039;required|bool&#039;, &#039;status&#039; =&gt; &#039;required|bool&#039;, &#039;last_connection&#039; =&gt; &#039;sometimes|date&#039;]</span></code>
= <span class="phpdocumentor-signature__default-value">[&#039;hashcode&#039; =&gt; &#039;required|uuid&#039;, &#039;email&#039; =&gt; &#039;required|email&#039;, &#039;firstname&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;lastname&#039; =&gt; &#039;required|string|min:2|max:255&#039;, &#039;password&#039; =&gt; &#039;required|min:8|max:255|mixedCase|containDigit|containSymbol&#039;, &#039;birth_date&#039; =&gt; &#039;required|date_format:Y-m-d&#039;, &#039;phone&#039; =&gt; &#039;sometimes|string|min:10|max:255&#039;, &#039;address&#039; =&gt; &#039;sometimes|string|max:255&#039;, &#039;address2&#039; =&gt; &#039;sometimes|string|max:255&#039;, &#039;city&#039; =&gt; &#039;sometimes|string|max:255&#039;, &#039;postcode&#039; =&gt; &#039;sometimes|string|max:255&#039;, &#039;country&#039; =&gt; [&#039;sometimes&#039;], &#039;opt_in&#039; =&gt; &#039;required|bool&#039;, &#039;status&#039; =&gt; &#039;required|bool&#039;, &#039;last_connection&#039; =&gt; &#039;sometimes|date&#039;]</span></code>
@ -1160,7 +1176,7 @@ the should not be visible</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">156</span>
<span class="phpdocumentor-element-found-in__line">155</span>
</aside>
@ -1172,9 +1188,8 @@ the should not be visible</p>
<span class="phpdocumentor-signature__name">$address</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Validate: string</p>
<p>Required
Min length NA
<section class="phpdocumentor-description"><p>Validate: sometimes,string</p>
<p>Min length NA
Max length 255
Field Type varchar</p>
</section>
@ -1199,7 +1214,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">170</span>
<span class="phpdocumentor-element-found-in__line">168</span>
</aside>
@ -1212,8 +1227,7 @@ Field Type varchar</p>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Validate: sometimes,string</p>
<p>Required
Min length NA
<p>Min length NA
Max length 255
Field Type varchar</p>
</section>
@ -1275,7 +1289,7 @@ Field Type Date</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">184</span>
<span class="phpdocumentor-element-found-in__line">181</span>
</aside>
@ -1287,9 +1301,8 @@ Field Type Date</p>
<span class="phpdocumentor-signature__name">$city</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Validate: string</p>
<p>Required
Min length NA
<section class="phpdocumentor-description"><p>Validate: sometimes,string</p>
<p>Min length NA
Max length 255
Field Type varchar</p>
</section>
@ -1314,7 +1327,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">211</span>
<span class="phpdocumentor-element-found-in__line">208</span>
</aside>
@ -1502,7 +1515,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">241</span>
<span class="phpdocumentor-element-found-in__line">238</span>
</aside>
@ -1575,7 +1588,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">223</span>
<span class="phpdocumentor-element-found-in__line">220</span>
</aside>
@ -1691,7 +1704,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">198</span>
<span class="phpdocumentor-element-found-in__line">195</span>
</aside>
@ -1730,7 +1743,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">232</span>
<span class="phpdocumentor-element-found-in__line">229</span>
</aside>
@ -1769,7 +1782,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">288</span>
<span class="phpdocumentor-element-found-in__line">285</span>
</aside>
@ -1813,7 +1826,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">318</span>
<span class="phpdocumentor-element-found-in__line">301</span>
</aside>
@ -1857,7 +1870,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">340</span>
<span class="phpdocumentor-element-found-in__line">323</span>
</aside>
@ -1925,7 +1938,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">509</span>
<span class="phpdocumentor-element-found-in__line">513</span>
</aside>
@ -1938,6 +1951,32 @@ Field Type varchar</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
@ -1973,6 +2012,32 @@ Field Type varchar</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
@ -1995,7 +2060,7 @@ Field Type varchar</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">359</span>
<span class="phpdocumentor-element-found-in__line">342</span>
</aside>
@ -2055,7 +2120,7 @@ using validation rules</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">401</span>
<span class="phpdocumentor-element-found-in__line">388</span>
</aside>
@ -2078,11 +2143,39 @@ using validation rules</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">self|null</span>
&mdash;
<section class="phpdocumentor-description"><p>Return null if the customer was not found</p>
</section>
</article>
<article
@ -2098,7 +2191,7 @@ using validation rules</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">428</span>
<span class="phpdocumentor-element-found-in__line">419</span>
</aside>
@ -2122,12 +2215,147 @@ This is an alias of Customer::find()</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">self|null</span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_jsonSerialize">
jsonSerialize()
<a href="classes/LDC-LDCCRM-Models-Customer.html#method_jsonSerialize" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">570</span>
</aside>
<p class="phpdocumentor-summary">Serialize this object to an array</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">jsonSerialize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_login">
login()
<a href="classes/LDC-LDCCRM-Models-Customer.html#method_login" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">552</span>
</aside>
<p class="phpdocumentor-summary">Test customer credentials</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">login</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$email</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$password</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$email</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$password</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
</article>
<article
class="phpdocumentor-element
@ -2142,7 +2370,7 @@ This is an alias of Customer::find()</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">438</span>
<span class="phpdocumentor-element-found-in__line">433</span>
</aside>
@ -2155,6 +2383,32 @@ This is an alias of Customer::find()</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
@ -2177,7 +2431,7 @@ This is an alias of Customer::find()</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">527</span>
<span class="phpdocumentor-element-found-in__line">535</span>
</aside>
@ -2190,6 +2444,32 @@ This is an alias of Customer::find()</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
@ -2212,7 +2492,7 @@ This is an alias of Customer::find()</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">378</span>
<span class="phpdocumentor-element-found-in__line">361</span>
</aside>
@ -2258,7 +2538,7 @@ This is an alias of Customer::find()</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">457</span>
<span class="phpdocumentor-element-found-in__line">452</span>
</aside>
@ -2291,7 +2571,7 @@ This is an alias of Customer::find()</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Customer.php"><a href="files/src-models-customer.html"><abbr title="src/Models/Customer.php">Customer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">472</span>
<span class="phpdocumentor-element-found-in__line">468</span>
</aside>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -280,6 +282,13 @@ It has some static methods to retrieve questions and answers</p>
<dd>Fill data into this model
using validation rules</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize">jsonSerialize()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Serialize this object to an array</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy">unansweredBy()</a>
<span>
@ -866,7 +875,7 @@ Field Type tinyInteger</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Question.php"><a href="files/src-models-question.html"><abbr title="src/Models/Question.php">Question.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">197</span>
<span class="phpdocumentor-element-found-in__line">200</span>
</aside>
@ -879,6 +888,32 @@ Field Type tinyInteger</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
@ -901,7 +936,7 @@ Field Type tinyInteger</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Question.php"><a href="files/src-models-question.html"><abbr title="src/Models/Question.php">Question.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">230</span>
<span class="phpdocumentor-element-found-in__line">237</span>
</aside>
@ -924,6 +959,32 @@ Field Type tinyInteger</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
@ -999,6 +1060,39 @@ using validation rules</p>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_jsonSerialize">
jsonSerialize()
<a href="classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Question.php"><a href="files/src-models-question.html"><abbr title="src/Models/Question.php">Question.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">299</span>
</aside>
<p class="phpdocumentor-summary">Serialize this object to an array</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">jsonSerialize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
</article>
<article
class="phpdocumentor-element
@ -1013,7 +1107,7 @@ using validation rules</p>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/Question.php"><a href="files/src-models-question.html"><abbr title="src/Models/Question.php">Question.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">262</span>
<span class="phpdocumentor-element-found-in__line">273</span>
</aside>
@ -1036,6 +1130,32 @@ using validation rules</p>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, <a href="classes/LDC-LDCCRM-Models-Question.html"><abbr title="\LDC\LDCCRM\Models\Question">Question</abbr></a>&gt;</span>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -231,7 +233,7 @@
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$validation</span>
= <span class="phpdocumentor-signature__default-value">[&#039;email&#039; =&gt; &#039;required|email:rfc,dns,spoof,filter&#039;, &#039;opt_in&#039; =&gt; &#039;required|bool&#039;]</span></code>
= <span class="phpdocumentor-signature__default-value">[&#039;email&#039; =&gt; &#039;required|email&#039;, &#039;opt_in&#039; =&gt; &#039;required|bool&#039;]</span></code>
@ -258,7 +260,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Models/SingleOptin.php"><a href="files/src-models-singleoptin.html"><abbr title="src/Models/SingleOptin.php">SingleOptin.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">39</span>
<span class="phpdocumentor-element-found-in__line">43</span>
</aside>
@ -302,6 +304,26 @@
<section class="phpdocumentor-description"><p>ApiError::singleOptinCustomerExists If single optin already exists</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -112,7 +114,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">25</span>
<span class="phpdocumentor-element-found-in__line">26</span>
</aside>
@ -546,7 +548,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">40</span>
<span class="phpdocumentor-element-found-in__line">41</span>
</aside>
@ -579,7 +581,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">61</span>
<span class="phpdocumentor-element-found-in__line">62</span>
</aside>
@ -612,7 +614,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">54</span>
<span class="phpdocumentor-element-found-in__line">55</span>
</aside>
@ -645,7 +647,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">47</span>
<span class="phpdocumentor-element-found-in__line">48</span>
</aside>
@ -678,7 +680,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">68</span>
<span class="phpdocumentor-element-found-in__line">69</span>
</aside>
@ -711,7 +713,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">75</span>
<span class="phpdocumentor-element-found-in__line">76</span>
</aside>
@ -744,7 +746,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">33</span>
<span class="phpdocumentor-element-found-in__line">34</span>
</aside>
@ -781,7 +783,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">77</span>
<span class="phpdocumentor-element-found-in__line">78</span>
</aside>
@ -833,7 +835,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">123</span>
<span class="phpdocumentor-element-found-in__line">124</span>
</aside>
@ -877,7 +879,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">150</span>
<span class="phpdocumentor-element-found-in__line">151</span>
</aside>
@ -921,7 +923,7 @@ not a valid json</dd>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Transport/Response.php"><a href="files/src-transport-response.html"><abbr title="src/Transport/Response.php">Response.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">144</span>
<span class="phpdocumentor-element-found-in__line">145</span>
</aside>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -111,7 +113,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">23</span>
<span class="phpdocumentor-element-found-in__line">22</span>
</aside>
@ -185,6 +187,13 @@
</dt>
<dd>Package infos</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/LDC-LDCCRM-Utils.html#property_translations">$translations</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Loaded translations</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Utils.html#method_getConfig">getConfig()</a>
<span>
@ -206,6 +215,15 @@
</dt>
<dd>Generate a Request from the route name</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Utils.html#method_log">log()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Write log using syslog
It also write log using \Illuminate\Support\Facades\Log
if it is present</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Utils.html#method_makeValidator">makeValidator()</a>
<span>
@ -213,6 +231,13 @@
</dt>
<dd>Create a new Validator instance.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Utils.html#method_translate">translate()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Translation a string using php file lang</dd>
</dl>
@ -241,7 +266,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">38</span>
<span class="phpdocumentor-element-found-in__line">37</span>
</aside>
@ -274,7 +299,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">31</span>
<span class="phpdocumentor-element-found-in__line">30</span>
</aside>
@ -290,6 +315,39 @@
</article>
<article
class="
phpdocumentor-element
-property
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="property_translations">
$translations
<a href="classes/LDC-LDCCRM-Utils.html#property_translations" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">44</span>
</aside>
<p class="phpdocumentor-summary">Loaded translations</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$translations</span>
= <span class="phpdocumentor-signature__default-value">[]</span></code>
</article>
</section>
@ -311,7 +369,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">74</span>
<span class="phpdocumentor-element-found-in__line">244</span>
</aside>
@ -375,7 +433,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">148</span>
<span class="phpdocumentor-element-found-in__line">318</span>
</aside>
@ -408,7 +466,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">105</span>
<span class="phpdocumentor-element-found-in__line">275</span>
</aside>
@ -455,6 +513,62 @@
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_log">
log()
<a href="classes/LDC-LDCCRM-Utils.html#method_log" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">357</span>
</aside>
<p class="phpdocumentor-summary">Write log using syslog
It also write log using \Illuminate\Support\Facades\Log
if it is present</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">log</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$message</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-Enums-LogLevel.html"><abbr title="\LDC\LDCCRM\Enums\LogLevel">LogLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$level</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$message</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The message is prefixed with &quot;LDC CRM:&quot;</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$level</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-Enums-LogLevel.html"><abbr title="\LDC\LDCCRM\Enums\LogLevel">LogLevel</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The log level to apply</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">void</span>
&mdash;
</article>
<article
class="phpdocumentor-element
@ -469,7 +583,7 @@
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">49</span>
<span class="phpdocumentor-element-found-in__line">56</span>
</aside>
@ -477,7 +591,7 @@
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">makeValidator</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$rules</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$messages</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$customAttributes</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Illuminate\Validation\Validator">Validator</abbr></span></code>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">makeValidator</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$rules</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Illuminate\Validation\Validator">Validator</abbr></span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@ -496,17 +610,53 @@
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><abbr title="\Illuminate\Validation\Validator">Validator</abbr></span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_translate">
translate()
<a href="classes/LDC-LDCCRM-Utils.html#method_translate" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/Utils.php"><a href="files/src-utils.html"><abbr title="src/Utils.php">Utils.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">333</span>
</aside>
<p class="phpdocumentor-summary">Translation a string using php file lang</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">translate</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$lang</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;fr&#039;</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$messages</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<span class="phpdocumentor-signature__argument__name">$key</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$customAttributes</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<span class="phpdocumentor-signature__argument__name">$lang</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">&#039;fr&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
@ -515,7 +665,7 @@
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><abbr title="\Illuminate\Validation\Validator">Validator</abbr></span>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,444 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc.html">LDC</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc-ldccrm.html">LDCCRM</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc-ldccrm-wordpress.html">WordPress</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
WPCrmAnswer
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/LDCCrmClient.html">LDCCrmClient</a></li>
<li class="phpdocumentor-breadcrumb"><a href="packages/LDCCrmClient-Wordpress.html">Wordpress</a></li>
</ul>
</div>
</h2>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmAnswer.php"><a href="files/src-wordpress-wpcrmanswer.html"><abbr title="src/WordPress/WPCrmAnswer.php">WPCrmAnswer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">28</span>
</aside>
<p class="phpdocumentor-summary">Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">category</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>API</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">subpackage</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Wordpress</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Jérémy Munsch <a href="mailto:jeremy.munsch@ldc.fr">jeremy.munsch@ldc.fr</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">license</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MIT https://opensource.org/licenses/MIT</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">link</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<a class="phpdocumentor-tag-link" href="/"> / </a>
</dd>
</dl>
<h3 id="toc">
Table of Contents
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_setQuestionAnswers">setQuestionAnswers()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Set unanswered question for a specific customer</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_getRawProperty">getRawProperty()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Get a property</dd>
</dl>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setQuestionAnswers">
setQuestionAnswers()
<a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_setQuestionAnswers" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmAnswer.php"><a href="files/src-wordpress-wpcrmanswer.html"><abbr title="src/WordPress/WPCrmAnswer.php">WPCrmAnswer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">44</span>
</aside>
<p class="phpdocumentor-summary">Set unanswered question for a specific customer</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setQuestionAnswers</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$user</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$questionId</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$answersId</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$user</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$questionId</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The question id</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$answersId</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array with answers id</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"><p>true if succeeded</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getRawProperty">
getRawProperty()
<a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_getRawProperty" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmAnswer.php"><a href="files/src-wordpress-wpcrmanswer.html"><abbr title="src/WordPress/WPCrmAnswer.php">WPCrmAnswer.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">61</span>
</aside>
<p class="phpdocumentor-summary">Get a property</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getRawProperty</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$object</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$field</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$object</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$field</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
</article>
</section>
<script type="text/javascript">
function loadExternalCodeSnippets(line) {
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
var language = 'php';
var code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
}
else if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
}
else {
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
}
}
};
xhr.send(null);
});
}
var modals = document.querySelectorAll("[data-modal]");
modals.forEach(function (trigger) {
trigger.addEventListener("click", function (event) {
//event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippets(trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
</script>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -0,0 +1,576 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc.html">LDC</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc-ldccrm.html">LDCCRM</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc-ldccrm-wordpress.html">WordPress</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
WPCrmQuestion
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/LDCCrmClient.html">LDCCrmClient</a></li>
<li class="phpdocumentor-breadcrumb"><a href="packages/LDCCrmClient-Wordpress.html">Wordpress</a></li>
</ul>
</div>
</h2>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmQuestion.php"><a href="files/src-wordpress-wpcrmquestion.html"><abbr title="src/WordPress/WPCrmQuestion.php">WPCrmQuestion.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">28</span>
</aside>
<p class="phpdocumentor-summary">Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">category</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>API</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">subpackage</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Wordpress</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Jérémy Munsch <a href="mailto:jeremy.munsch@ldc.fr">jeremy.munsch@ldc.fr</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">license</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MIT https://opensource.org/licenses/MIT</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">link</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<a class="phpdocumentor-tag-link" href="/"> / </a>
</dd>
</dl>
<h3 id="toc">
Table of Contents
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_allWithCustomerAnswers">allWithCustomerAnswers()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Get all the questions with user answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getAll">getAll()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Get all questions only</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_unansweredBy">unansweredBy()</a>
<span>
&nbsp;: array&lt;string|int, <a href="classes/LDC-LDCCRM-Models-Question.html"><abbr title="\LDC\LDCCRM\Models\Question">Question</abbr></a>&gt; </span>
</dt>
<dd>Get unanswered question for a specific customer</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getRawProperty">getRawProperty()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Get a property</dd>
</dl>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_allWithCustomerAnswers">
allWithCustomerAnswers()
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_allWithCustomerAnswers" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmQuestion.php"><a href="files/src-wordpress-wpcrmquestion.html"><abbr title="src/WordPress/WPCrmQuestion.php">WPCrmQuestion.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">67</span>
</aside>
<p class="phpdocumentor-summary">Get all the questions with user answers</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">allWithCustomerAnswers</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$user</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$user</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>[
0 =&gt; [
'question' =&gt; \LDC\LDCCRM\Models\Question,
'customerAnswers' =&gt; \LDC\LDCCRM\Models\Answer[]
]
]</p>
<p>with \LDC\LDCCRM\Models\Question[]
and the customer \LDC\LDCCRM\Models\Answer[]</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getAll">
getAll()
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getAll" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmQuestion.php"><a href="files/src-wordpress-wpcrmquestion.html"><abbr title="src/WordPress/WPCrmQuestion.php">WPCrmQuestion.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">42</span>
</aside>
<p class="phpdocumentor-summary">Get all questions only</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getAll</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>with \LDC\LDCCRM\Models\Question[]</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_unansweredBy">
unansweredBy()
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_unansweredBy" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmQuestion.php"><a href="files/src-wordpress-wpcrmquestion.html"><abbr title="src/WordPress/WPCrmQuestion.php">WPCrmQuestion.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">87</span>
</aside>
<p class="phpdocumentor-summary">Get unanswered question for a specific customer</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">unansweredBy</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$user</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, <a href="classes/LDC-LDCCRM-Models-Question.html"><abbr title="\LDC\LDCCRM\Models\Question">Question</abbr></a>&gt;</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$user</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-CrmException.html"><abbr title="\LDC\LDCCRM\Exceptions\CrmException">CrmException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an error occurs on server side or on getting response</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/LDC-LDCCRM-Exceptions-ApiErrorException.html"><abbr title="\LDC\LDCCRM\Exceptions\ApiErrorException">ApiErrorException</abbr></a></span>
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, <a href="classes/LDC-LDCCRM-Models-Question.html"><abbr title="\LDC\LDCCRM\Models\Question">Question</abbr></a>&gt;</span>
&mdash;
</article>
<article
class="phpdocumentor-element
-method
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="method_getRawProperty">
getRawProperty()
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getRawProperty" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="src/WordPress/WPCrmQuestion.php"><a href="files/src-wordpress-wpcrmquestion.html"><abbr title="src/WordPress/WPCrmQuestion.php">WPCrmQuestion.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">104</span>
</aside>
<p class="phpdocumentor-summary">Get a property</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getRawProperty</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$object</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$field</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$object</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"></section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$field</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
</article>
</section>
<script type="text/javascript">
function loadExternalCodeSnippets(line) {
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
var language = 'php';
var code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
}
else if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
}
else {
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
}
}
};
xhr.send(null);
});
}
var modals = document.querySelectorAll("[data-modal]");
modals.forEach(function (trigger) {
trigger.addEventListener("click", function (event) {
//event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippets(trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
</script>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

File diff suppressed because it is too large Load diff

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -0,0 +1,151 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
</ul>
<article class="phpdocumentor-element -file">
<h2 class="phpdocumentor-content__title">LogLevel.php</h2>
<section class="phpdocumentor-description"></section>
<h3 id="interfaces_class_traits">
Interfaces, Classes and Traits
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Enums-LogLevel.html"><abbr title="\LDC\LDCCRM\Enums\LogLevel">LogLevel</abbr></a></dt>
<dd></dd>
</dl>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="files/src-enums-loglevel.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -0,0 +1,191 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
</ul>
<article class="phpdocumentor-element -file">
<h2 class="phpdocumentor-content__title">WPCrm.php</h2>
<p class="phpdocumentor-summary">LDCCRM For Wordpress usage</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">category</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>API</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Jérémy Munsch <a href="mailto:jeremy.munsch@ldc.fr">jeremy.munsch@ldc.fr</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">license</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MIT https://opensource.org/licenses/MIT</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">link</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<a class="phpdocumentor-tag-link" href="/"> / </a>
</dd>
</dl>
<h3 id="interfaces_class_traits">
Interfaces, Classes and Traits
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrm.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrm">WPCrm</abbr></a></dt>
<dd>Class de gestion des users en session avec Wordpress (ce truc immonde)</dd>
</dl>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="files/src-wordpress-wpcrm.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -0,0 +1,191 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
</ul>
<article class="phpdocumentor-element -file">
<h2 class="phpdocumentor-content__title">WPCrmAnswer.php</h2>
<p class="phpdocumentor-summary">LDCCRM For Wordpress usage</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">category</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>API</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Jérémy Munsch <a href="mailto:jeremy.munsch@ldc.fr">jeremy.munsch@ldc.fr</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">license</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MIT https://opensource.org/licenses/MIT</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">link</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<a class="phpdocumentor-tag-link" href="/"> / </a>
</dd>
</dl>
<h3 id="interfaces_class_traits">
Interfaces, Classes and Traits
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmAnswer">WPCrmAnswer</abbr></a></dt>
<dd>Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</dd>
</dl>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="files/src-wordpress-wpcrmanswer.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -0,0 +1,191 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
</ul>
<article class="phpdocumentor-element -file">
<h2 class="phpdocumentor-content__title">WPCrmQuestion.php</h2>
<p class="phpdocumentor-summary">LDCCRM For Wordpress usage</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">category</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>API</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Jérémy Munsch <a href="mailto:jeremy.munsch@ldc.fr">jeremy.munsch@ldc.fr</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">license</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MIT https://opensource.org/licenses/MIT</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">link</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<a class="phpdocumentor-tag-link" href="/"> / </a>
</dd>
</dl>
<h3 id="interfaces_class_traits">
Interfaces, Classes and Traits
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmQuestion">WPCrmQuestion</abbr></a></dt>
<dd>Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</dd>
</dl>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="files/src-wordpress-wpcrmquestion.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -0,0 +1,191 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
</ul>
<article class="phpdocumentor-element -file">
<h2 class="phpdocumentor-content__title">WPCrmUser.php</h2>
<p class="phpdocumentor-summary">LDCCRM For Wordpress usage</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">category</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>API</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Jérémy Munsch <a href="mailto:jeremy.munsch@ldc.fr">jeremy.munsch@ldc.fr</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">license</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MIT https://opensource.org/licenses/MIT</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">link</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<a class="phpdocumentor-tag-link" href="/"> / </a>
</dd>
</dl>
<h3 id="interfaces_class_traits">
Interfaces, Classes and Traits
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a></dt>
<dd>Class de gestion des users en session avec Wordpress (ce truc immonde)</dd>
</dl>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="files/src-wordpress-wpcrmuser.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -59,7 +59,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -97,6 +99,7 @@
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></dt>
</dl>
<h3 id="namespaces">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -117,6 +119,7 @@
</ul>
<h3>L</h3>
<ul class="phpdocumentor-list">
<li><a href="files/src-enums-loglevel.html"><abbr title="src/Enums/LogLevel.php">LogLevel.php</abbr></a></li>
<li><a href="files/src-exceptions-loginexception.html"><abbr title="src/Exceptions/LoginException.php">LoginException.php</abbr></a></li>
</ul>
<h3>Q</h3>
@ -141,7 +144,14 @@
<ul class="phpdocumentor-list">
<li><a href="files/src-exceptions-validationexception.html"><abbr title="src/Exceptions/ValidationException.php">ValidationException.php</abbr></a></li>
</ul>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<h3>W</h3>
<ul class="phpdocumentor-list">
<li><a href="files/src-wordpress-wpcrm.html"><abbr title="src/WordPress/WPCrm.php">WPCrm.php</abbr></a></li>
<li><a href="files/src-wordpress-wpcrmanswer.html"><abbr title="src/WordPress/WPCrmAnswer.php">WPCrmAnswer.php</abbr></a></li>
<li><a href="files/src-wordpress-wpcrmquestion.html"><abbr title="src/WordPress/WPCrmQuestion.php">WPCrmQuestion.php</abbr></a></li>
<li><a href="files/src-wordpress-wpcrmuser.html"><abbr title="src/WordPress/WPCrmUser.php">WPCrmUser.php</abbr></a></li>
</ul>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>

View file

@ -35,6 +35,11 @@ Search.appendIndex(
"name": "setStatus",
"summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email",
"url": "classes/LDC-LDCCRM-CrmApiV2.html#method_setStatus"
}, {
"fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Alogin\u0028\u0029",
"name": "login",
"summary": "Test\u0020a\u0020customer\u0020credentials\u0020to\u0020see\u0020if\u0020it\u0020can\u0020login",
"url": "classes/LDC-LDCCRM-CrmApiV2.html#method_login"
}, {
"fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A\u0024apiInterface",
"name": "apiInterface",
@ -95,6 +100,26 @@ Search.appendIndex(
"name": "labels",
"summary": "",
"url": "classes/LDC-LDCCRM-Enums-Country.html#method_labels"
}, {
"fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel",
"name": "LogLevel",
"summary": "",
"url": "classes/LDC-LDCCRM-Enums-LogLevel.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel\u003A\u003Avalues\u0028\u0029",
"name": "values",
"summary": "",
"url": "classes/LDC-LDCCRM-Enums-LogLevel.html#method_values"
}, {
"fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType",
"name": "QuestionType",
"summary": "",
"url": "classes/LDC-LDCCRM-Enums-QuestionType.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType\u003A\u003Avalues\u0028\u0029",
"name": "values",
"summary": "",
"url": "classes/LDC-LDCCRM-Enums-QuestionType.html#method_values"
}, {
"fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException",
"name": "ApiErrorException",
@ -165,6 +190,51 @@ Search.appendIndex(
"name": "report",
"summary": "",
"url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html#method_report"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer",
"name": "Answer",
"summary": "This\u0020class\u0020represents\u0020an\u0020answer\nIt\u0020has\u0020a\u0020method\u0020to\u0020submit\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Answer.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A__construct\u0028\u0029",
"name": "__construct",
"summary": "",
"url": "classes/LDC-LDCCRM-Models-Answer.html#method___construct"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AsetQuestionAnswers\u0028\u0029",
"name": "setQuestionAnswers",
"summary": "Set\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer",
"url": "classes/LDC-LDCCRM-Models-Answer.html#method_setQuestionAnswers"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AjsonSerialize\u0028\u0029",
"name": "jsonSerialize",
"summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array",
"url": "classes/LDC-LDCCRM-Models-Answer.html#method_jsonSerialize"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024isNew",
"name": "isNew",
"summary": "Is\u0020true\u0020if\u0020this\u0020model\u0020was\u0020not\u0020filled\u0020from\u0020crm",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_isNew"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024id",
"name": "id",
"summary": "The\u0020question\u0020id",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_id"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024answer",
"name": "answer",
"summary": "The\u0020actual\u0020answer\u0020as\u0020a\u0020string",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_answer"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024modelFields",
"name": "modelFields",
"summary": "The\u0020crm\u0020customer\u0020fields",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_modelFields"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024validation",
"name": "validation",
"summary": "Validation\u0020rules",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_validation"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault",
"name": "ArcadiaMailDefault",
@ -200,6 +270,11 @@ Search.appendIndex(
"name": "send",
"summary": "Send\u0020The\u0020actual\u0020mail",
"url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_send"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AjsonSerialize\u0028\u0029",
"name": "jsonSerialize",
"summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array",
"url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_jsonSerialize"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024operation",
"name": "operation",
@ -265,6 +340,11 @@ Search.appendIndex(
"name": "send",
"summary": "Send\u0020The\u0020actual\u0020mail",
"url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_send"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003AjsonSerialize\u0028\u0029",
"name": "jsonSerialize",
"summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array",
"url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_jsonSerialize"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024operation",
"name": "operation",
@ -375,6 +455,16 @@ Search.appendIndex(
"name": "toggleOptin",
"summary": "Toggle\u0020the\u0020account\u0020optin\u0020value\u0020in\u0020the\u0020crm",
"url": "classes/LDC-LDCCRM-Models-Customer.html#method_toggleOptin"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Alogin\u0028\u0029",
"name": "login",
"summary": "Test\u0020customer\u0020credentials",
"url": "classes/LDC-LDCCRM-Models-Customer.html#method_login"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AjsonSerialize\u0028\u0029",
"name": "jsonSerialize",
"summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array",
"url": "classes/LDC-LDCCRM-Models-Customer.html#method_jsonSerialize"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024isNew",
"name": "isNew",
@ -470,6 +560,91 @@ Search.appendIndex(
"name": "validation",
"summary": "Validation\u0020rules",
"url": "classes/LDC-LDCCRM-Models-Customer.html#property_validation"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question",
"name": "Question",
"summary": "This\u0020class\u0020represents\u0020a\u0020question\nIt\u0020has\u0020some\u0020static\u0020methods\u0020to\u0020retrieve\u0020questions\u0020and\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Question.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__construct\u0028\u0029",
"name": "__construct",
"summary": "",
"url": "classes/LDC-LDCCRM-Models-Question.html#method___construct"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__get\u0028\u0029",
"name": "__get",
"summary": "",
"url": "classes/LDC-LDCCRM-Models-Question.html#method___get"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__set\u0028\u0029",
"name": "__set",
"summary": "Set\u0020prop",
"url": "classes/LDC-LDCCRM-Models-Question.html#method___set"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Afill\u0028\u0029",
"name": "fill",
"summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_fill"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AvalidateAllValues\u0028\u0029",
"name": "validateAllValues",
"summary": "Validate\u0020all\u0020model\u0020properties",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Aall\u0028\u0029",
"name": "all",
"summary": "Get\u0020all\u0020questions\u0020only",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_all"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AallWithCustomerAnswers\u0028\u0029",
"name": "allWithCustomerAnswers",
"summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020customer\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AunansweredBy\u0028\u0029",
"name": "unansweredBy",
"summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AjsonSerialize\u0028\u0029",
"name": "jsonSerialize",
"summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024isNew",
"name": "isNew",
"summary": "Is\u0020true\u0020if\u0020this\u0020model\u0020was\u0020not\u0020filled\u0020from\u0020crm",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_isNew"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024id",
"name": "id",
"summary": "The\u0020question\u0020id",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_id"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024question",
"name": "question",
"summary": "The\u0020actual\u0020question\u0020as\u0020a\u0020string",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_question"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024type",
"name": "type",
"summary": "The\u0020question\u0020type",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_type"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024answers",
"name": "answers",
"summary": "The\u0020question\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_answers"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024modelFields",
"name": "modelFields",
"summary": "The\u0020crm\u0020customer\u0020fields",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_modelFields"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024validation",
"name": "validation",
"summary": "Validation\u0020rules",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_validation"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin",
"name": "SingleOptin",
@ -680,6 +855,16 @@ Search.appendIndex(
"name": "getPackageInfo",
"summary": "Get\u0020composer.json\u0020infos",
"url": "classes/LDC-LDCCRM-Utils.html#method_getPackageInfo"
}, {
"fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Atranslate\u0028\u0029",
"name": "translate",
"summary": "Translation\u0020a\u0020string\u0020using\u0020php\u0020file\u0020lang",
"url": "classes/LDC-LDCCRM-Utils.html#method_translate"
}, {
"fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Alog\u0028\u0029",
"name": "log",
"summary": "Write\u0020log\u0020using\u0020syslog\nIt\u0020also\u0020write\u0020log\u0020using\u0020\\Illuminate\\Support\\Facades\\Log\nif\u0020it\u0020is\u0020present",
"url": "classes/LDC-LDCCRM-Utils.html#method_log"
}, {
"fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024packageInfos",
"name": "packageInfos",
@ -691,135 +876,295 @@ Search.appendIndex(
"summary": "The\u0020env\u0020config",
"url": "classes/LDC-LDCCRM-Utils.html#property_config"
}, {
"fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType",
"name": "QuestionType",
"fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024translations",
"name": "translations",
"summary": "Loaded\u0020translations",
"url": "classes/LDC-LDCCRM-Utils.html#property_translations"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm",
"name": "WPCrm",
"summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogin\u0028\u0029",
"name": "login",
"summary": "Try\u0020to\u0020login\u0020with\u0020CRM\u0020API\nreturn\u0020api\u0020response\u0020code\u0020if\u0020an\u0020error\u0020occurs",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_login"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AforceLogin\u0028\u0029",
"name": "forceLogin",
"summary": "Login\u0020user\u0020by\u0020setting\u0020user\u0020session",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_forceLogin"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUser\u0028\u0029",
"name": "getUser",
"summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020null\u0020if\u0020the\u0020user\u0020is\u0020not\u0020logged\u0020in",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUser"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromApi\u0028\u0029",
"name": "getUserFromApi",
"summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020api\u0020response\u0020code\u0020if\u0020an\u0020error\u0020occurs",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromApi"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AloginUserWithApi\u0028\u0029",
"name": "loginUserWithApi",
"summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020null\u0020if\u0020the\u0020user\u0020is\u0020not\u0020logged\u0020in",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_loginUserWithApi"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogout\u0028\u0029",
"name": "logout",
"summary": "Destroy\u0020the\u0020customer\u0020from\u0020session\nand\u0020therefore\u0020logout",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_logout"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Acheck\u0028\u0029",
"name": "check",
"summary": "Check\u0020if\u0020the\u0020user\u0020is\u0020Authenticated",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_check"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveUser\u0028\u0029",
"name": "saveUser",
"summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveUser"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUser\u0028\u0029",
"name": "deleteUser",
"summary": "Delete\u0020current\u0020customer\u0020from\nthe\u0020local\u0020database\u0020and\u0020the\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUser"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AtoggleUserOptin\u0028\u0029",
"name": "toggleUserOptin",
"summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_toggleUserOptin"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetSingleOptin\u0028\u0029",
"name": "setSingleOptin",
"summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email\non\u0020the\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setSingleOptin"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsendArcadiaMailDefault\u0028\u0029",
"name": "sendArcadiaMailDefault",
"summary": "send\u0020An\u0020arcadia\u0020mail\u0020with\u0020type\u0020default\nThis\u0020methods\u0020requires\u0020to\u0020have\u0020a\u0020user\u0020in\u0020session\u0020\u0028to\u0020be\u0020logged\u0020in\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_sendArcadiaMailDefault"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsendArcadiaMailGame\u0028\u0029",
"name": "sendArcadiaMailGame",
"summary": "send\u0020An\u0020arcadia\u0020mail\u0020with\u0020type\u0020game\nThis\u0020methods\u0020requires\u0020to\u0020have\u0020a\u0020user\u0020in\u0020session\u0020\u0028to\u0020be\u0020logged\u0020in\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_sendArcadiaMailGame"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AactivateUser\u0028\u0029",
"name": "activateUser",
"summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_activateUser"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetNewUser\u0028\u0029",
"name": "getNewUser",
"summary": "Generate\u0020a\u0020new\u0020user",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getNewUser"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AunsetActiveUser\u0028\u0029",
"name": "unsetActiveUser",
"summary": "Remove\u0020active\u0020user\nto\u0020prevent\u0020WPCrm\u003A\u003Acheck\u0020to\u0020return\u0020true",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_unsetActiveUser"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetCustomer\u0028\u0029",
"name": "getCustomer",
"summary": "Get\u0020all\u0020customer\u0020infos",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getCustomer"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetUser\u0028\u0029",
"name": "setUser",
"summary": "Create\u0020a\u0020user\nstores\u0020it\u0020to\u0020the\u0020session\nand\u0020finally\u0020saves\u0020it\u0020to\u0020the\u0020database\u0020if\u0020it\u0020does\u0020not\u0020exists",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setUser"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AinitLdcApi\u0028\u0029",
"name": "initLdcApi",
"summary": "Get\u0020the\u0020initialized\u0020API\u0020object",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_initLdcApi"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AmakeApiV2Call\u0028\u0029",
"name": "makeApiV2Call",
"summary": "Make\u0020a\u0020call\u0020using\u0020apiV2",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_makeApiV2Call"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AbootSessionIfNeeded\u0028\u0029",
"name": "bootSessionIfNeeded",
"summary": "Boot\u0020the\u0020php\u0020session\u0020if\u0020needed",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_bootSessionIfNeeded"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTable\u0028\u0029",
"name": "getUserFromTable",
"summary": "Get\u0020a\u0020customer\u0020from\u0020table",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTable"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByEmail\u0028\u0029",
"name": "getUserFromTableByEmail",
"summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByEmail"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByUuid\u0028\u0029",
"name": "getUserFromTableByUuid",
"summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByUuid"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveOrUpdateUserToTable\u0028\u0029",
"name": "saveOrUpdateUserToTable",
"summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveOrUpdateUserToTable"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUserFromTable\u0028\u0029",
"name": "deleteUserFromTable",
"summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUserFromTable"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Aquery\u0028\u0029",
"name": "query",
"summary": "Query\u0020in\u0020DB",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_query"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetWpDb\u0028\u0029",
"name": "getWpDb",
"summary": "Get\u0020WP\u0020\u0027pdo\u0020instance\u0027",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getWpDb"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetRawProperty\u0028\u0029",
"name": "getRawProperty",
"summary": "Get\u0020a\u0020property",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getRawProperty"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionKey",
"name": "sessionKey",
"summary": "",
"url": "classes/LDC-LDCCRM-Enums-QuestionType.html"
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionKey"
}, {
"fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType\u003A\u003Avalues\u0028\u0029",
"name": "values",
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionDestroyed",
"name": "sessionDestroyed",
"summary": "",
"url": "classes/LDC-LDCCRM-Enums-QuestionType.html#method_values"
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionDestroyed"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer",
"name": "Answer",
"summary": "This\u0020class\u0020represents\u0020an\u0020answer\nIt\u0020has\u0020a\u0020method\u0020to\u0020submit\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Answer.html"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024api",
"name": "api",
"summary": "The\u0020user\u0020object",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_api"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A__construct\u0028\u0029",
"name": "__construct",
"summary": "",
"url": "classes/LDC-LDCCRM-Models-Answer.html#method___construct"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024user",
"name": "user",
"summary": "The\u0020user\u0020object",
"url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_user"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AsetQuestionAnswers\u0028\u0029",
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer",
"name": "WPCrmAnswer",
"summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer\u003A\u003AsetQuestionAnswers\u0028\u0029",
"name": "setQuestionAnswers",
"summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer",
"url": "classes/LDC-LDCCRM-Models-Answer.html#method_setQuestionAnswers"
"summary": "Set\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_setQuestionAnswers"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024isNew",
"name": "isNew",
"summary": "Is\u0020true\u0020if\u0020this\u0020model\u0020was\u0020not\u0020filled\u0020from\u0020crm",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_isNew"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer\u003A\u003AgetRawProperty\u0028\u0029",
"name": "getRawProperty",
"summary": "Get\u0020a\u0020property",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_getRawProperty"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024id",
"name": "id",
"summary": "The\u0020question\u0020id",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_id"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion",
"name": "WPCrmQuestion",
"summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024answer",
"name": "answer",
"summary": "The\u0020actual\u0020answer\u0020as\u0020a\u0020string",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_answer"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024modelFields",
"name": "modelFields",
"summary": "The\u0020crm\u0020customer\u0020fields",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_modelFields"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024validation",
"name": "validation",
"summary": "Validation\u0020rules",
"url": "classes/LDC-LDCCRM-Models-Answer.html#property_validation"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question",
"name": "Question",
"summary": "This\u0020class\u0020represents\u0020a\u0020question\nIt\u0020has\u0020some\u0020static\u0020methods\u0020to\u0020retrieve\u0020questions\u0020and\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Question.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__construct\u0028\u0029",
"name": "__construct",
"summary": "",
"url": "classes/LDC-LDCCRM-Models-Question.html#method___construct"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__get\u0028\u0029",
"name": "__get",
"summary": "",
"url": "classes/LDC-LDCCRM-Models-Question.html#method___get"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__set\u0028\u0029",
"name": "__set",
"summary": "Set\u0020prop",
"url": "classes/LDC-LDCCRM-Models-Question.html#method___set"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Afill\u0028\u0029",
"name": "fill",
"summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_fill"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AvalidateAllValues\u0028\u0029",
"name": "validateAllValues",
"summary": "Validate\u0020all\u0020model\u0020properties",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Aall\u0028\u0029",
"name": "all",
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AgetAll\u0028\u0029",
"name": "getAll",
"summary": "Get\u0020all\u0020questions\u0020only",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_all"
"url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getAll"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AallWithCustomerAnswers\u0028\u0029",
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AallWithCustomerAnswers\u0028\u0029",
"name": "allWithCustomerAnswers",
"summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020customer\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers"
"summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020user\u0020answers",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_allWithCustomerAnswers"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AunansweredBy\u0028\u0029",
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AunansweredBy\u0028\u0029",
"name": "unansweredBy",
"summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer",
"url": "classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy"
"url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_unansweredBy"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024isNew",
"name": "isNew",
"summary": "Is\u0020true\u0020if\u0020this\u0020model\u0020was\u0020not\u0020filled\u0020from\u0020crm",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_isNew"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AgetRawProperty\u0028\u0029",
"name": "getRawProperty",
"summary": "Get\u0020a\u0020property",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getRawProperty"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024id",
"name": "id",
"summary": "The\u0020question\u0020id",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_id"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser",
"name": "WPCrmUser",
"summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024question",
"name": "question",
"summary": "The\u0020actual\u0020question\u0020as\u0020a\u0020string",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_question"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__construct\u0028\u0029",
"name": "__construct",
"summary": "WPCrmUser\u0020construct",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___construct"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024type",
"name": "type",
"summary": "The\u0020question\u0020type",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_type"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__get\u0028\u0029",
"name": "__get",
"summary": "Magic\u0020getter",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___get"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024answers",
"name": "answers",
"summary": "The\u0020question\u0020answers",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_answers"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__set\u0028\u0029",
"name": "__set",
"summary": "Magic\u0020setter",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___set"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024modelFields",
"name": "modelFields",
"summary": "The\u0020crm\u0020customer\u0020fields",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_modelFields"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AsetInfo\u0028\u0029",
"name": "setInfo",
"summary": "Set\u0020the\u0020customer\u0020info\nwith\u0020api\u0020response",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_setInfo"
}, {
"fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024validation",
"name": "validation",
"summary": "Validation\u0020rules",
"url": "classes/LDC-LDCCRM-Models-Question.html#property_validation"
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AparseFromJson\u0028\u0029",
"name": "parseFromJson",
"summary": "Generate\u0020a\u0020user\u0020from\u0020session\u0020data",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_parseFromJson"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AjsonSerialize\u0028\u0029",
"name": "jsonSerialize",
"summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_jsonSerialize"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Asave\u0028\u0029",
"name": "save",
"summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_save"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Adelete\u0028\u0029",
"name": "delete",
"summary": "Delete\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_delete"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AtoggleOptin\u0028\u0029",
"name": "toggleOptin",
"summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_toggleOptin"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Aactivate\u0028\u0029",
"name": "activate",
"summary": "Activate\u0020the\u0020account\u0020in\u0020the\u0020crm",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_activate"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024phashcode",
"name": "phashcode",
"summary": "The\u0020CRM\u0020hashcode\u0020\u0028UUID\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_phashcode"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024pemail",
"name": "pemail",
"summary": "The\u0020CRM\u0020customer\u0020email",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_pemail"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024info",
"name": "info",
"summary": "The\u0020CRM\u0020customer\u0020info\u0020\u0028the\u0020api\u0020response\u0029",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_info"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024uuidToken",
"name": "uuidToken",
"summary": "The\u0020CRM\u0020customer\u0020temp\u0020uuidToken\u0020to\u0020validate\u0020transactions",
"url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_uuidToken"
}, {
"fqsen": "\\",
"name": "\\",
@ -860,5 +1205,10 @@ Search.appendIndex(
"name": "Transport",
"summary": "",
"url": "namespaces/ldc-ldccrm-transport.html"
}, {
"fqsen": "\\LDC\\LDCCRM\\WordPress",
"name": "WordPress",
"summary": "",
"url": "namespaces/ldc-ldccrm-wordpress.html"
} ]
);

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -114,6 +116,8 @@
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Enums-Country.html"><abbr title="\LDC\LDCCRM\Enums\Country">Country</abbr></a></dt>
<dd>Liste de Pays</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Enums-LogLevel.html"><abbr title="\LDC\LDCCRM\Enums\LogLevel">LogLevel</abbr></a></dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Enums-QuestionType.html"><abbr title="\LDC\LDCCRM\Enums\QuestionType">QuestionType</abbr></a></dt>
<dd></dd>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -104,6 +106,9 @@
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-Answer.html"><abbr title="\LDC\LDCCRM\Models\Answer">Answer</abbr></a></dt>
<dd>This class represents an answer
It has a method to submit answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html"><abbr title="\LDC\LDCCRM\Models\ArcadiaMailDefault">ArcadiaMailDefault</abbr></a></dt>
<dd>This class represents the customer info with
the account validation status</dd>
@ -114,14 +119,11 @@ the account validation status</dd>
<dd>This class represents the customer info with
the account validation status. You can use it as
a standalone class but beware of catching exceptions</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-SingleOptin.html"><abbr title="\LDC\LDCCRM\Models\SingleOptin">SingleOptin</abbr></a></dt>
<dd>This class allows to handle single optins</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-Answer.html"><abbr title="\LDC\LDCCRM\Models\Answer">Answer</abbr></a></dt>
<dd>This class represents an answer
It has a method to submit answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-Question.html"><abbr title="\LDC\LDCCRM\Models\Question">Question</abbr></a></dt>
<dd>This class represents a question
It has some static methods to retrieve questions and answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-SingleOptin.html"><abbr title="\LDC\LDCCRM\Models\SingleOptin">SingleOptin</abbr></a></dt>
<dd>This class allows to handle single optins</dd>
</dl>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -0,0 +1,151 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc.html">LDC</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/ldc-ldccrm.html">LDCCRM</a></li>
</ul>
<article class="phpdocumentor-element -namespace">
<h2 class="phpdocumentor-content__title">WordPress</h2>
<h3 id="interfaces_class_traits">
Interfaces, Classes and Traits
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrm.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrm">WPCrm</abbr></a></dt>
<dd>Class de gestion des users en session avec Wordpress (ce truc immonde)</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmAnswer">WPCrmAnswer</abbr></a></dt>
<dd>Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmQuestion">WPCrmQuestion</abbr></a></dt>
<dd>Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a></dt>
<dd>Class de gestion des users en session avec Wordpress (ce truc immonde)</dd>
</dl>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="namespaces/ldc-ldccrm-wordpress.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -106,6 +108,7 @@
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/ldc-ldccrm-models.html"><abbr title="\LDC\LDCCRM\Models">Models</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/ldc-ldccrm-providers.html"><abbr title="\LDC\LDCCRM\Providers">Providers</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/ldc-ldccrm-transport.html"><abbr title="\LDC\LDCCRM\Transport">Transport</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/ldc-ldccrm-wordpress.html"><abbr title="\LDC\LDCCRM\WordPress">WordPress</abbr></a></dt>
</dl>
<h3 id="interfaces_class_traits">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -0,0 +1,150 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/LDCCrmClient.html">LDCCrmClient</a></li>
</ul>
<article class="phpdocumentor-element -package">
<h2 class="phpdocumentor-content__title">Wordpress</h2>
<h3 id="interfaces_class_traits">
Interfaces, Classes and Traits
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrm.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrm">WPCrm</abbr></a></dt>
<dd>Class de gestion des users en session avec Wordpress (ce truc immonde)</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmAnswer">WPCrmAnswer</abbr></a></dt>
<dd>Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmQuestion">WPCrmQuestion</abbr></a></dt>
<dd>Class de gestion de la segmentation question avec Wordpress (ce truc immonde)</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-WordPress-WPCrmUser.html"><abbr title="\LDC\LDCCRM\WordPress\WPCrmUser">WPCrmUser</abbr></a></dt>
<dd>Class de gestion des users en session avec Wordpress (ce truc immonde)</dd>
</dl>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="packages/LDCCrmClient-Wordpress.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -113,6 +115,8 @@
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Enums-Country.html"><abbr title="\LDC\LDCCRM\Enums\Country">Country</abbr></a></dt>
<dd>Liste de Pays</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Enums-LogLevel.html"><abbr title="\LDC\LDCCRM\Enums\LogLevel">LogLevel</abbr></a></dt>
<dd></dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Enums-QuestionType.html"><abbr title="\LDC\LDCCRM\Enums\QuestionType">QuestionType</abbr></a></dt>
<dd></dd>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -103,6 +105,9 @@
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-Answer.html"><abbr title="\LDC\LDCCRM\Models\Answer">Answer</abbr></a></dt>
<dd>This class represents an answer
It has a method to submit answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html"><abbr title="\LDC\LDCCRM\Models\ArcadiaMailDefault">ArcadiaMailDefault</abbr></a></dt>
<dd>This class represents the customer info with
the account validation status</dd>
@ -113,14 +118,11 @@ the account validation status</dd>
<dd>This class represents the customer info with
the account validation status. You can use it as
a standalone class but beware of catching exceptions</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-SingleOptin.html"><abbr title="\LDC\LDCCRM\Models\SingleOptin">SingleOptin</abbr></a></dt>
<dd>This class allows to handle single optins</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-Answer.html"><abbr title="\LDC\LDCCRM\Models\Answer">Answer</abbr></a></dt>
<dd>This class represents an answer
It has a method to submit answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-Question.html"><abbr title="\LDC\LDCCRM\Models\Question">Question</abbr></a></dt>
<dd>This class represents a question
It has some static methods to retrieve questions and answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/LDC-LDCCRM-Models-SingleOptin.html"><abbr title="\LDC\LDCCRM\Models\SingleOptin">SingleOptin</abbr></a></dt>
<dd>This class allows to handle single optins</dd>
</dl>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -104,6 +106,7 @@
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></dt>
</dl>

View file

@ -0,0 +1,132 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CRM V2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V2</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/ldc.html"><abbr title="\LDC">LDC</abbr></a></h4>
<ul class="phpdocumentor-list">
<li><a href="namespaces/ldc-ldccrm.html"><abbr title="\LDC\LDCCRM">LDCCRM</abbr></a></li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></h3>
<ul class="phpdocumentor-list">
<li><a href="packages/LDCCrmClient-enums.html"><abbr title="\LDCCrmClient\enums">enums</abbr></a></li>
<li><a href="packages/LDCCrmClient-exceptions.html"><abbr title="\LDCCrmClient\exceptions">exceptions</abbr></a></li>
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -eight phpdocumentor-content">
<ul class="phpdocumentor-breadcrumbs">
</ul>
<article class="phpdocumentor-element -package">
<h2 class="phpdocumentor-content__title">None</h2>
</article>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
</div>
<a href="packages/None.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>

View file

@ -70,7 +70,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -100,6 +102,7 @@
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/LDCCrmClient.html"><abbr title="\LDCCrmClient">LDCCrmClient</abbr></a></dt>
<dt class="phpdocumentor-table-of-contents__entry -package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></dt>
</dl>

View file

@ -71,7 +71,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -71,7 +71,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">

View file

@ -71,7 +71,9 @@
<li><a href="packages/LDCCrmClient-models.html"><abbr title="\LDCCrmClient\models">models</abbr></a></li>
<li><a href="packages/LDCCrmClient-transport.html"><abbr title="\LDCCrmClient\transport">transport</abbr></a></li>
<li><a href="packages/LDCCrmClient-utilities.html"><abbr title="\LDCCrmClient\utilities">utilities</abbr></a></li>
<li><a href="packages/LDCCrmClient-Wordpress.html"><abbr title="\LDCCrmClient\Wordpress">Wordpress</abbr></a></li>
</ul>
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/None.html"><abbr title="\None">None</abbr></a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
@ -99,7 +101,7 @@
<table class="phpdocumentor-table_of_contents">
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Enums/ApiError.php">src/Enums/ApiError.php</a></td>
<td class="phpdocumentor-cell">1</td>
<td class="phpdocumentor-cell">2</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Enums/Country.php">src/Enums/Country.php</a></td>
@ -108,6 +110,10 @@
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Exceptions/CrmException.php">src/Exceptions/CrmException.php</a></td>
<td class="phpdocumentor-cell">1</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Models/Answer.php">src/Models/Answer.php</a></td>
<td class="phpdocumentor-cell">2</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Models/ArcadiaMailDefault.php">src/Models/ArcadiaMailDefault.php</a></td>
@ -120,10 +126,18 @@
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Models/Customer.php">src/Models/Customer.php</a></td>
<td class="phpdocumentor-cell">10</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Models/Question.php">src/Models/Question.php</a></td>
<td class="phpdocumentor-cell">7</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Models/SingleOptin.php">src/Models/SingleOptin.php</a></td>
<td class="phpdocumentor-cell">1</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Transport/ApiInterface.php">src/Transport/ApiInterface.php</a></td>
<td class="phpdocumentor-cell">1</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Transport/Request.php">src/Transport/Request.php</a></td>
@ -135,15 +149,23 @@
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Utils.php">src/Utils.php</a></td>
<td class="phpdocumentor-cell">1</td>
<td class="phpdocumentor-cell">3</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Models/Answer.php">src/Models/Answer.php</a></td>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/WordPress/WPCrm.php">src/WordPress/WPCrm.php</a></td>
<td class="phpdocumentor-cell">15</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/WordPress/WPCrmAnswer.php">src/WordPress/WPCrmAnswer.php</a></td>
<td class="phpdocumentor-cell">2</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/Models/Question.php">src/Models/Question.php</a></td>
<td class="phpdocumentor-cell">7</td>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/WordPress/WPCrmQuestion.php">src/WordPress/WPCrmQuestion.php</a></td>
<td class="phpdocumentor-cell">2</td>
</tr>
<tr>
<td class="phpdocumentor-cell"><a href="reports/markers.html#src/WordPress/WPCrmUser.php">src/WordPress/WPCrmUser.php</a></td>
<td class="phpdocumentor-cell">2</td>
</tr>
</table>
@ -160,7 +182,12 @@
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">53</td>
<td class="phpdocumentor-cell">56</td>
<td class="phpdocumentor-cell">supportweb.ldc.fr</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">62</td>
<td class="phpdocumentor-cell">supportweb.ldc.fr</td>
</tr>
</tbody>
@ -200,6 +227,29 @@
<td class="phpdocumentor-cell">supportweb.ldc.fr</td>
</tr>
</tbody>
</table>
<a id="src/Models/Answer.php"></a>
<h3><abbr title="src/Models/Answer.php">Answer.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">81</td>
<td class="phpdocumentor-cell">PUBLIC METHODS</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">106</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
</table>
<a id="src/Models/ArcadiaMailDefault.php"></a>
<h3><abbr title="src/Models/ArcadiaMailDefault.php">ArcadiaMailDefault.php</abbr></h3>
@ -234,17 +284,17 @@
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">234</td>
<td class="phpdocumentor-cell">238</td>
<td class="phpdocumentor-cell">validate customer hashcode</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">240</td>
<td class="phpdocumentor-cell">244</td>
<td class="phpdocumentor-cell">Send mail</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">242</td>
<td class="phpdocumentor-cell">246</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
@ -267,17 +317,17 @@
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">151</td>
<td class="phpdocumentor-cell">155</td>
<td class="phpdocumentor-cell">validate customer hashcode</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">157</td>
<td class="phpdocumentor-cell">161</td>
<td class="phpdocumentor-cell">Send mail</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">159</td>
<td class="phpdocumentor-cell">163</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
@ -295,42 +345,37 @@
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">292</td>
<td class="phpdocumentor-cell">289</td>
<td class="phpdocumentor-cell">phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">300</td>
<td class="phpdocumentor-cell">phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed,Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">366</td>
<td class="phpdocumentor-cell">349</td>
<td class="phpdocumentor-cell">cast anyway</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">385</td>
<td class="phpdocumentor-cell">368</td>
<td class="phpdocumentor-cell">this to throw validation error if failure way</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">393</td>
<td class="phpdocumentor-cell">376</td>
<td class="phpdocumentor-cell">PUBLIC METHODS</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">403</td>
<td class="phpdocumentor-cell">390</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">462</td>
<td class="phpdocumentor-cell">457</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">475</td>
<td class="phpdocumentor-cell">471</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
<tr>
@ -340,112 +385,12 @@
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">512</td>
<td class="phpdocumentor-cell">516</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
</table>
<a id="src/Models/SingleOptin.php"></a>
<h3><abbr title="src/Models/SingleOptin.php">SingleOptin.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">42</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
</table>
<a id="src/Transport/Request.php"></a>
<h3><abbr title="src/Transport/Request.php">Request.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">173</td>
<td class="phpdocumentor-cell">do not throw http errors</td>
</tr>
</tbody>
</table>
<a id="src/Transport/Response.php"></a>
<h3><abbr title="src/Transport/Response.php">Response.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">90</td>
<td class="phpdocumentor-cell">Body should be json data</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">99</td>
<td class="phpdocumentor-cell">Api Error</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">101</td>
<td class="phpdocumentor-cell">CRM Exception or Any Exception</td>
</tr>
</tbody>
</table>
<a id="src/Utils.php"></a>
<h3><abbr title="src/Utils.php">Utils.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">107</td>
<td class="phpdocumentor-cell">convert bool to integer</td>
</tr>
</tbody>
</table>
<a id="src/Models/Answer.php"></a>
<h3><abbr title="src/Models/Answer.php">Answer.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">81</td>
<td class="phpdocumentor-cell">PUBLIC METHODS</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">99</td>
<td class="phpdocumentor-cell">556</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
@ -483,20 +428,287 @@
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">199</td>
<td class="phpdocumentor-cell">202</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">232</td>
<td class="phpdocumentor-cell">239</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">265</td>
<td class="phpdocumentor-cell">276</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
</table>
<a id="src/Models/SingleOptin.php"></a>
<h3><abbr title="src/Models/SingleOptin.php">SingleOptin.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">46</td>
<td class="phpdocumentor-cell">set apiInterface</td>
</tr>
</tbody>
</table>
<a id="src/Transport/ApiInterface.php"></a>
<h3><abbr title="src/Transport/ApiInterface.php">ApiInterface.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">103</td>
<td class="phpdocumentor-cell">handle http Auth</td>
</tr>
</tbody>
</table>
<a id="src/Transport/Request.php"></a>
<h3><abbr title="src/Transport/Request.php">Request.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">173</td>
<td class="phpdocumentor-cell">do not throw http errors</td>
</tr>
</tbody>
</table>
<a id="src/Transport/Response.php"></a>
<h3><abbr title="src/Transport/Response.php">Response.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">91</td>
<td class="phpdocumentor-cell">Body should be json data</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">100</td>
<td class="phpdocumentor-cell">Api Error</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">102</td>
<td class="phpdocumentor-cell">CRM Exception or Any Exception</td>
</tr>
</tbody>
</table>
<a id="src/Utils.php"></a>
<h3><abbr title="src/Utils.php">Utils.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">55</td>
<td class="phpdocumentor-cell">phpcs:ignore Generic.Metrics.CyclomaticComplexity.MaxExceeded</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">181</td>
<td class="phpdocumentor-cell">phpcs:ignore Generic.Files.LineLength.TooLong</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">277</td>
<td class="phpdocumentor-cell">convert bool to integer</td>
</tr>
</tbody>
</table>
<a id="src/WordPress/WPCrm.php"></a>
<h3><abbr title="src/WordPress/WPCrm.php">WPCrm.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">9</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">28</td>
<td class="phpdocumentor-cell">phpcs:ignore Squiz.PHP.CommentedOutCode.Found</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">29</td>
<td class="phpdocumentor-cell">TABLE LDC CUSTOMERS</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">30</td>
<td class="phpdocumentor-cell">CREATE TABLE `ldc_wp_customers` (</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">31</td>
<td class="phpdocumentor-cell">`hashcode` VARCHAR(36) NOT NULL DEFAULT &#039;&#039; COMMENT &#039;Le hashcode (UUID)&#039;,</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">32</td>
<td class="phpdocumentor-cell">`email` VARCHAR(255) NOT NULL DEFAULT &#039;&#039; COMMENT &#039;Le customer email&#039;,</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">33</td>
<td class="phpdocumentor-cell">`uuid` VARCHAR(50) NOT NULL DEFAULT &#039;&#039; COMMENT &#039;Code unique (inscripton, validation, etc)&#039;,</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">34</td>
<td class="phpdocumentor-cell">PRIMARY KEY (`hashcode`)</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">35</td>
<td class="phpdocumentor-cell">)</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">36</td>
<td class="phpdocumentor-cell">COMMENT=&#039;Les customers sur un WP liées à la CRM&#039;</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">37</td>
<td class="phpdocumentor-cell">COLLATE=&#039;utf8mb4_unicode_ci&#039;;</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">46</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">376</td>
<td class="phpdocumentor-cell">--- PRIVATE --- METHODS</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">470</td>
<td class="phpdocumentor-cell">15 minutes session</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">615</td>
<td class="phpdocumentor-cell">phpcs:ignore Squiz.PHP.GlobalKeyword.NotAllowed</td>
</tr>
</tbody>
</table>
<a id="src/WordPress/WPCrmAnswer.php"></a>
<h3><abbr title="src/WordPress/WPCrmAnswer.php">WPCrmAnswer.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">9</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">25</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
</tbody>
</table>
<a id="src/WordPress/WPCrmQuestion.php"></a>
<h3><abbr title="src/WordPress/WPCrmQuestion.php">WPCrmQuestion.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">9</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">25</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
</tbody>
</table>
<a id="src/WordPress/WPCrmUser.php"></a>
<h3><abbr title="src/WordPress/WPCrmUser.php">WPCrmUser.php</abbr></h3>
<table>
<thead>
<tr>
<th class="phpdocumentor-heading">Type</th>
<th class="phpdocumentor-heading">Line</th>
<th class="phpdocumentor-heading">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">9</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
<tr>
<td class="phpdocumentor-cell"></td>
<td class="phpdocumentor-cell">65</td>
<td class="phpdocumentor-cell">opensource.org/licenses/MIT</td>
</tr>
</tbody>
</table>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">

35
src/Enums/LogLevel.php Normal file
View file

@ -0,0 +1,35 @@
<?php
namespace LDC\LDCCRM\Enums;
use Kwaadpepper\Enum\BaseEnum;
/**
* @method static self EMERG() system is unusable
* @method static self ALERT() action must be taken immediately
* @method static self CRIT() critical conditions
* @method static self ERR() critical conditions
* @method static self WARNING() critical conditions
* @method static self NOTICE() normal, but significant, condition
* @method static self INFO() informational message
* @method static self DEBUG() debug-level message
*
* @package LDCCrmClient
* @subpackage enums
*/
class LogLevel extends BaseEnum
{
protected static function values()
{
return [
'EMERG' => 'LOG_EMERG',
'ALERT' => 'LOG_ALERT',
'CRIT' => 'LOG_CRIT',
'ERR' => 'LOG_ERR',
'WARNING' => 'LOG_WARNING',
'NOTICE' => 'LOG_NOTICE',
'INFO' => 'LOG_INFO',
'DEBUG' => 'LOG_DEBUG',
];
}
}

View file

@ -140,7 +140,7 @@ class ApiInterface
$this->storeCacheValue('api_token', static::$apiToken);
}
} catch (ApiErrorException $e) {
if ($e->getApiError()->equals(ApiError::needAuth()) and !$request->maxAttempted()) {
if ($e->getApiError()->equals(ApiError::apiAuthFailed()) and !$request->maxAttempted()) {
$request->incrementAttempt();
$this->authenticate();
$response = $this->call($request);

View file

@ -4,6 +4,7 @@ namespace LDC\LDCCRM\Transport;
use LDC\LDCCRM\Enums\ApiError;
use LDC\LDCCRM\Enums\ApiStatus;
use LDC\LDCCRM\Enums\LogLevel;
use LDC\LDCCRM\Exceptions\CrmException;
use LDC\LDCCRM\Utils;
use Psr\Http\Message\ResponseInterface;
@ -165,10 +166,7 @@ class Response
$version,
$packageInfo['version']
);
if (\class_exists('\Illuminate\Support\Facades\Log')) {
\Illuminate\Support\Facades\Log::warning($message);
}
\syslog(\LOG_WARNING, $message);
Utils::log($message, LogLevel::WARNING());
}
}
}

View file

@ -4,6 +4,7 @@ namespace LDC\LDCCRM;
use Dotenv\Dotenv;
use LDC\LDCCRM\Enums\HttpMethods;
use LDC\LDCCRM\Enums\LogLevel;
use LDC\LDCCRM\Exceptions\ValidationException;
use LDC\LDCCRM\Transport\Request;
use Respect\Validation\Validator;
@ -322,6 +323,13 @@ class Utils
return static::$packageInfos;
}
/**
* Translation a string using php file lang
*
* @param string $key
* @param string $lang
* @return string
*/
public static function translate(string $key, string $lang = 'fr'): string
{
try {
@ -336,4 +344,48 @@ class Utils
}
}
}
/**
* Write log using syslog
* It also write log using \Illuminate\Support\Facades\Log
* if it is present
*
* @param string $message The message is prefixed with "LDC CRM:"
* @param \LDC\LDCCRM\Enums\LogLevel $level The log level to apply
* @return void
*/
public static function log(string $message, LogLevel $level)
{
$message = "LDC CRM: $message";
if (\class_exists('\Illuminate\Support\Facades\Log')) {
switch ($level) {
case LogLevel::EMERG():
\Illuminate\Support\Facades\Log::emergency($message);
break;
case LogLevel::ALERT():
\Illuminate\Support\Facades\Log::alert($message);
break;
case LogLevel::CRIT():
\Illuminate\Support\Facades\Log::critical($message);
break;
case LogLevel::ERR():
\Illuminate\Support\Facades\Log::error($message);
break;
case LogLevel::WARNING():
\Illuminate\Support\Facades\Log::warning($message);
break;
case LogLevel::NOTICE():
\Illuminate\Support\Facades\Log::notice($message);
break;
case LogLevel::INFO():
\Illuminate\Support\Facades\Log::info($message);
break;
case LogLevel::DEBUG():
\Illuminate\Support\Facades\Log::debug($message);
break;
}
\Illuminate\Support\Facades\Log::warning($message);
}
\syslog(\constant($level), $message);
}
}

View file

@ -15,12 +15,14 @@ namespace LDC\LDCCRM\WordPress;
use Exception;
use LDC\LDCCRM\CrmApiV2;
use LDC\LDCCRM\Enums\ApiError;
use LDC\LDCCRM\Enums\LogLevel;
use LDC\LDCCRM\Exceptions\ApiErrorException;
use LDC\LDCCRM\Exceptions\CrmException;
use LDC\LDCCRM\Models\ArcadiaMailDefault;
use LDC\LDCCRM\Models\ArcadiaMailGame;
use LDC\LDCCRM\Models\Customer;
use LDC\LDCCRM\Models\SingleOptin;
use LDC\LDCCRM\Utils;
use ReflectionClass;
// phpcs:ignore Squiz.PHP.CommentedOutCode.Found
@ -443,21 +445,15 @@ class WPCrm
case ApiError::apiAuthFailed():
throw $e;
default:
self::logError($e->getMessage());
Utils::log($e->getMessage(), LogLevel::NOTICE());
throw $e;
}
} catch (CrmException $e) {
self::logError($e->getMessage());
Utils::log($e->getMessage(), LogLevel::EMERG());
return false;
}
}
private static function logError(string $message): void
{
// phpcs:ignore Squiz.PHP.DiscouragedFunctions.Found
error_log($message);
}
/**
* Boot the php session if needed
*