ldc-crm-client/docs/client-api/classes/LDC-LDCCRM-Models-Question.html

1522 lines
71 KiB
HTML
Raw Permalink Normal View History

2021-08-11 17:36:59 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
2023-10-05 12:16:43 +02:00
<title>CRM V4</title>
2021-08-11 17:36:59 +02:00
<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">
2023-10-05 12:16:43 +02:00
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
2021-08-11 17:36:59 +02:00
<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>
2023-10-05 12:16:43 +02:00
<script src="js/template.js"></script>
2021-08-11 17:36:59 +02:00
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
2023-09-05 16:40:45 +02:00
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">CRM V4</a></h1>
2021-08-11 17:36:59 +02:00
<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>
2023-10-05 12:16:43 +02:00
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
2023-10-05 12:16:43 +02:00
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/ldc.html" class="">LDC</a>
</h4>
<ul class="phpdocumentor-list">
<li>
2023-10-05 12:16:43 +02:00
<a href="namespaces/ldc-ldccrm.html" class="">LDCCRM</a>
</li>
</ul>
2021-08-11 17:36:59 +02:00
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
2023-10-05 12:16:43 +02:00
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/LDCCrmClient.html" class="">LDCCrmClient</a>
</h4>
<ul class="phpdocumentor-list">
<li>
2023-10-05 12:16:43 +02:00
<a href="packages/LDCCrmClient-exceptions.html" class="">exceptions</a>
</li>
<li>
2023-10-05 12:16:43 +02:00
<a href="packages/LDCCrmClient-models.html" class="">models</a>
</li>
<li>
2023-10-05 12:16:43 +02:00
<a href="packages/LDCCrmClient-transport.html" class="">transport</a>
</li>
<li>
2023-10-05 12:16:43 +02:00
<a href="packages/LDCCrmClient-utilities.html" class="">utilities</a>
</li>
<li>
2023-10-05 12:16:43 +02:00
<a href="packages/LDCCrmClient-Wordpress.html" class="">Wordpress</a>
</li>
</ul>
2023-10-05 12:16:43 +02:00
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/None.html" class="">None</a>
</h4>
2021-08-11 17:36:59 +02:00
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<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>
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-column -nine phpdocumentor-content">
<section>
<ul class="phpdocumentor-breadcrumbs">
2021-08-11 17:36:59 +02:00
<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-models.html">Models</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
Question
<span class="phpdocumentor-element__extends">
2023-10-05 12:16:43 +02:00
extends <abbr title="\LDC\LDCCRM\Models\ClientModel">ClientModel</abbr>
2021-08-11 17:36:59 +02:00
</span>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<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-models.html">models</a></li>
</ul>
</div>
2023-10-05 12:16:43 +02:00
</h2>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
</div>
2021-08-11 17:36:59 +02:00
<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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">25</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">This class represents a question
It has some static methods to retrieve questions and answers</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
2021-08-11 17:36:59 +02:00
</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">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<section class="phpdocumentor-description"><p>Api Models</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">subpackage</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<section class="phpdocumentor-description"><p>models</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>Jérémy Munsch <a href="mailto:jeremy.munsch@ldc.fr">jeremy.munsch@ldc.fr</a></p>
</section>
2021-08-11 17:36:59 +02:00
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2021-08-11 17:36:59 +02:00
<h3 id="toc">
Table of Contents
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
2021-08-11 17:36:59 +02:00
</h3>
2023-10-05 12:16:43 +02:00
<h4 id="toc-properties">
Properties
<a href="classes/LDC-LDCCRM-Models-Question.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
2021-08-11 17:36:59 +02:00
<dl class="phpdocumentor-table-of-contents">
2023-10-05 12:16:43 +02:00
<dt class="phpdocumentor-table-of-contents__entry -property -public">
2021-08-11 17:36:59 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#property_answers">$answers</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, <a href="classes/LDC-LDCCRM-Models-Answer.html"><abbr title="\LDC\LDCCRM\Models\Answer">Answer</abbr></a>&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_id">$id</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: string </span>
2021-08-11 17:36:59 +02:00
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_question">$question</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: string|null </span>
2021-08-11 17:36:59 +02:00
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_type">$type</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: <a href="classes/LDC-LDCCRM-Enums-QuestionType.html"><abbr title="\LDC\LDCCRM\Enums\QuestionType">QuestionType</abbr></a>|null </span>
2021-08-11 17:36:59 +02:00
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_modelFields">$modelFields</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>The crm customer fields</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_validation">$validation</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Validation rules</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_answers">$answers</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>The question answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_id">$id</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: int </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>The question id</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_question">$question</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: string|null </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>The actual question as a string</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/LDC-LDCCRM-Models-Question.html#property_type">$type</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: <a href="classes/LDC-LDCCRM-Enums-QuestionType.html"><abbr title="\LDC\LDCCRM\Enums\QuestionType">QuestionType</abbr></a>|null </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>The question type</dd>
2023-10-05 12:16:43 +02:00
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/LDC-LDCCRM-Models-Question.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
2021-08-11 17:36:59 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method___construct">__construct()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: mixed </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Question</dd>
2021-08-11 17:36:59 +02:00
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method___get">__get()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: mixed </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>General accessor</dd>
2021-08-11 17:36:59 +02:00
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method___set">__set()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: void </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Set prop on the model.</dd>
2021-08-11 17:36:59 +02:00
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_all">all()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Get all questions only</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers">allWithCustomerAnswers()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Get all the questions with customer answers</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_fill">fill()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: void </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Fill values into model using validation rules.</dd>
2021-08-11 17:36:59 +02:00
2021-09-14 14:23:31 +02:00
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize">jsonSerialize()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-09-14 14:23:31 +02:00
</dt>
<dd>Serialize this object to an array</dd>
2021-08-11 17:36:59 +02:00
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy">unansweredBy()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Get unanswered question for a specific customer</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues">validateAllValues()</a>
<span>
2023-10-05 12:16:43 +02:00
&nbsp;: array&lt;string|int, mixed&gt; </span>
2021-08-11 17:36:59 +02:00
</dt>
<dd>Validate all model properties</dd>
2023-10-05 12:16:43 +02:00
</dl>
2021-08-11 17:36:59 +02:00
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/LDC-LDCCRM-Models-Question.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</h3>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_answers">
$answers
<a href="classes/LDC-LDCCRM-Models-Question.html#property_answers" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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">0</span>
</aside>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">array&lt;string|int, <a href="classes/LDC-LDCCRM-Models-Answer.html"><abbr title="\LDC\LDCCRM\Models\Answer">Answer</abbr></a>&gt;</span>
<span class="phpdocumentor-signature__name">$answers</span>
</code>
<section class="phpdocumentor-description"><p>An array with answers</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_id">
$id
<a href="classes/LDC-LDCCRM-Models-Question.html#property_id" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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">0</span>
</aside>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">string</span>
<span class="phpdocumentor-signature__name">$id</span>
</code>
<section class="phpdocumentor-description"><p>The question id</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_question">
$question
<a href="classes/LDC-LDCCRM-Models-Question.html#property_question" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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">0</span>
</aside>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__type">string|null</span>
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-signature__name">$question</span>
</code>
<section class="phpdocumentor-description"><p>The actual question as a string</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-public
"
>
<h4 class="phpdocumentor-element__name" id="property_type">
$type
<a href="classes/LDC-LDCCRM-Models-Question.html#property_type" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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">0</span>
</aside>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__type"><a href="classes/LDC-LDCCRM-Enums-QuestionType.html"><abbr title="\LDC\LDCCRM\Enums\QuestionType">QuestionType</abbr></a>|null</span>
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-signature__name">$type</span>
</code>
<section class="phpdocumentor-description"><p>The question type to display,
it also hints wether it can accept one or multiple responses,
so only checkbox allows multiple responses</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-protected
"
>
<h4 class="phpdocumentor-element__name" id="property_modelFields">
$modelFields
<a href="classes/LDC-LDCCRM-Models-Question.html#property_modelFields" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">74</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">The crm customer fields</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$modelFields</span>
= <span class="phpdocumentor-signature__default-value">[&#039;id&#039;, &#039;question&#039;, &#039;type&#039;, &#039;answers&#039;]</span></code>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_validation">
$validation
<a href="classes/LDC-LDCCRM-Models-Question.html#property_validation" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">86</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">Validation rules</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__type">array&lt;string|int, mixed&gt;</span>
<span class="phpdocumentor-signature__name">$validation</span>
= <span class="phpdocumentor-signature__default-value">[&#039;id&#039; =&gt; &#039;required|int&#039;, &#039;question&#039; =&gt; &#039;required|string|max:255&#039;, &#039;type&#039; =&gt; [&#039;required&#039;], &#039;answers&#039; =&gt; &#039;required|array&#039;]</span></code>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_answers">
$answers
<a href="classes/LDC-LDCCRM-Models-Question.html#property_answers" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">67</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">The question answers</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-signature__name">$answers</span>
= <span class="phpdocumentor-signature__default-value">[]</span></code>
<section class="phpdocumentor-description"><p>\LDC\LDCCRM\Models\Answer</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_id">
$id
<a href="classes/LDC-LDCCRM-Models-Question.html#property_id" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">35</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">The question id</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">int</span>
<span class="phpdocumentor-signature__name">$id</span>
</code>
<section class="phpdocumentor-description"><p>Required
Field Type bigInt</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_question">
$question
<a href="classes/LDC-LDCCRM-Models-Question.html#property_question" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">46</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">The actual question as a string</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__type">string|null</span>
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-signature__name">$question</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Required
Max length 255
Field Type varchar</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_type">
$type
<a href="classes/LDC-LDCCRM-Models-Question.html#property_type" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-element__modifiers">
</span>
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">58</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">The question type</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__type"><a href="classes/LDC-LDCCRM-Enums-QuestionType.html"><abbr title="\LDC\LDCCRM\Enums\QuestionType">QuestionType</abbr></a>|null</span>
2021-08-11 17:36:59 +02:00
<span class="phpdocumentor-signature__name">$type</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Validate: in QuestionType::toValues()</p>
<p>Required
Field Type tinyInteger</p>
</section>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/LDC-LDCCRM-Models-Question.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</h3>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___construct">
__construct()
<a href="classes/LDC-LDCCRM-Models-Question.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">99</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">Question</p>
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__name">__construct</span><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">$properties</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-08-11 17:36:59 +02:00
<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">$properties</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
</dl>
2023-10-05 12:16:43 +02:00
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method___construct#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-ValidationException.html"><abbr title="\LDC\LDCCRM\Exceptions\ValidationException">ValidationException</abbr></a></span>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If a field could not be validated.</p>
</section>
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___get">
__get()
<a href="classes/LDC-LDCCRM-Models-Question.html#method___get" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">112</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">General accessor</p>
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__name">__get</span><span>(</span><span class="phpdocumentor-signature__argument"><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>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-08-11 17:36:59 +02:00
<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">$field</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
</dl>
2023-10-05 12:16:43 +02:00
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___set">
__set()
<a href="classes/LDC-LDCCRM-Models-Question.html#method___set" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">135</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">Set prop on the model.</p>
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__name">__set</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$field</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-08-11 17:36:59 +02:00
<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">$field</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
</dl>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method___set#tags" class="headerlink"><i class="fas fa-link"></i></a>
2021-08-11 17:36:59 +02:00
</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-ValidationException.html"><abbr title="\LDC\LDCCRM\Exceptions\ValidationException">ValidationException</abbr></a></span>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If a field could not be validated.</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-AccessError.html"><abbr title="\LDC\LDCCRM\Exceptions\AccessError">AccessError</abbr></a></span>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If trying to set a value on a unknown property.</p>
2021-08-11 17:36:59 +02:00
</section>
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_all">
all()
<a href="classes/LDC-LDCCRM-Models-Question.html#method_all" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">199</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">Get all questions only</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">all</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-09-14 14:23:31 +02:00
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method_all#tags" class="headerlink"><i class="fas fa-link"></i></a>
2021-09-14 14:23:31 +02:00
</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>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If an error occurs on server side or on getting response.</p>
2021-09-14 14:23:31 +02:00
</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>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">phpcs:ignore</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>Squiz.Commenting.FunctionCommentThrowTag.WrongNumber</p>
2021-09-14 14:23:31 +02:00
</section>
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2021-08-11 17:36:59 +02:00
2023-10-05 12:16:43 +02:00
<section>
2021-08-11 17:36:59 +02:00
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>of \LDC\LDCCRM\Models\Question</p>
2021-08-11 17:36:59 +02:00
</section>
2023-10-05 12:16:43 +02:00
</section>
2023-09-05 16:40:45 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_allWithCustomerAnswers">
allWithCustomerAnswers()
<a href="classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">237</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">Get all the questions with customer answers</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<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-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$customer</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-08-11 17:36:59 +02:00
<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">$customer</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
</dl>
2023-10-05 12:16:43 +02:00
2021-09-14 14:23:31 +02:00
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers#tags" class="headerlink"><i class="fas fa-link"></i></a>
2021-09-14 14:23:31 +02:00
</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-ValidationException.html"><abbr title="\LDC\LDCCRM\Exceptions\ValidationException">ValidationException</abbr></a></span>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If a customer's hashcode could not be validated.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
2021-09-14 14:23:31 +02:00
<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>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If an error occurs on server side or on getting response.</p>
2021-09-14 14:23:31 +02:00
</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>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs.
Possibles are : - modelNotFound, If the customer could not be found(CRM side).</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">phpcs:ignore</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>Squiz.Commenting.FunctionCommentThrowTag.WrongNumber</p>
2021-09-14 14:23:31 +02:00
</section>
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2021-08-11 17:36:59 +02:00
2023-10-05 12:16:43 +02:00
<section>
2021-08-11 17:36:59 +02:00
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>[
2021-08-11 17:36:59 +02:00
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>
2023-10-05 12:16:43 +02:00
</section>
2023-09-05 16:40:45 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_fill">
fill()
<a href="classes/LDC-LDCCRM-Models-Question.html#method_fill" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">151</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">Fill values into model using validation rules.</p>
2021-08-11 17:36:59 +02:00
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__name">fill</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">$properties</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-08-11 17:36:59 +02:00
<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">$properties</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
</dl>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method_fill#tags" class="headerlink"><i class="fas fa-link"></i></a>
2021-08-11 17:36:59 +02:00
</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-ValidationException.html"><abbr title="\LDC\LDCCRM\Exceptions\ValidationException">ValidationException</abbr></a></span>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If a field could not be validated.</p>
2021-08-11 17:36:59 +02:00
</section>
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
2021-09-14 14:23:31 +02:00
</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>
2023-10-05 12:16:43 +02:00
2021-09-14 14:23:31 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">301</span>
2021-09-14 14:23:31 +02:00
</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>
2023-10-05 12:16:43 +02:00
<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>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-09-14 14:23:31 +02:00
2023-10-05 12:16:43 +02:00
<section>
2021-09-14 14:23:31 +02:00
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
2023-09-05 16:40:45 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_unansweredBy">
unansweredBy()
<a href="classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">275</span>
2021-08-11 17:36:59 +02:00
</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>
2023-10-05 12:16:43 +02:00
<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-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$customer</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-08-11 17:36:59 +02:00
<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">$customer</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LDC-LDCCRM-Models-Customer.html"><abbr title="\LDC\LDCCRM\Models\Customer">Customer</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
</dl>
2023-10-05 12:16:43 +02:00
2021-09-14 14:23:31 +02:00
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy#tags" class="headerlink"><i class="fas fa-link"></i></a>
2021-09-14 14:23:31 +02:00
</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-ValidationException.html"><abbr title="\LDC\LDCCRM\Exceptions\ValidationException">ValidationException</abbr></a></span>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If a customer's hashcode could not be validated.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
2021-09-14 14:23:31 +02:00
<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>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If an error occurs on server side or on getting response.</p>
2021-09-14 14:23:31 +02:00
</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>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If any error or \LDC\LDCCRM\Enums\ApiError occurs.
Possibles are : - modelNotFound, If the customer could not be found(CRM side).</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">phpcs:ignore</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>Squiz.Commenting.FunctionCommentThrowTag.WrongNumber</p>
2021-09-14 14:23:31 +02:00
</section>
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2021-08-11 17:36:59 +02:00
2023-10-05 12:16:43 +02:00
<section>
2021-08-11 17:36:59 +02:00
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>of \LDC\LDCCRM\Models\Question</p>
</section>
2023-10-05 12:16:43 +02:00
</section>
2023-09-05 16:40:45 +02:00
2021-08-11 17:36:59 +02:00
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_validateAllValues">
validateAllValues()
<a href="classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues" class="headerlink"><i class="fas fa-link"></i></a>
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</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>
:
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-element-found-in__line">174</span>
2021-08-11 17:36:59 +02:00
</aside>
<p class="phpdocumentor-summary">Validate all model properties</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__name">validateAllValues</span><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">$ignore</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
2023-09-05 16:40:45 +02:00
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-label-line">
</div>
2021-08-11 17:36:59 +02:00
<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">$ignore</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
2023-10-05 12:16:43 +02:00
2021-08-11 17:36:59 +02:00
</dd>
</dl>
2023-10-05 12:16:43 +02:00
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
2023-10-05 12:16:43 +02:00
<a href="classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues#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-ValidationException.html"><abbr title="\LDC\LDCCRM\Exceptions\ValidationException">ValidationException</abbr></a></span>
2023-10-05 12:16:43 +02:00
<section class="phpdocumentor-description"><p>If a field could not be validated.</p>
</section>
</dd>
2023-10-05 12:16:43 +02:00
</dl>
2021-08-11 17:36:59 +02:00
2023-10-05 12:16:43 +02:00
<section>
2021-08-11 17:36:59 +02:00
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
2023-10-05 12:16:43 +02:00
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>the validated values</p>
2021-08-11 17:36:59 +02:00
</section>
2023-10-05 12:16:43 +02:00
</section>
2023-09-05 16:40:45 +02:00
2021-08-11 17:36:59 +02:00
</article>
</section>
2023-10-05 12:16:43 +02:00
<div class="phpdocumentor-modal" id="source-view">
<div class="phpdocumentor-modal-bg" data-exit-button></div>
<div class="phpdocumentor-modal-container">
<div class="phpdocumentor-modal-content">
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Models/Question.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
</div>
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
</div>
</div>
2023-09-05 16:40:45 +02:00
2021-08-11 17:36:59 +02:00
<script type="text/javascript">
2023-10-05 12:16:43 +02:00
(function () {
function loadExternalCodeSnippet(el, url, line) {
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
const language = 'php';
const 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) {
return;
}
2021-08-11 17:36:59 +02:00
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
2023-10-05 12:16:43 +02:00
return;
2021-08-11 17:36:59 +02:00
}
2023-10-05 12:16:43 +02:00
if (xhr.status === 404) {
code.textContent = '✖ Error: File could not be found';
return;
2021-08-11 17:36:59 +02:00
}
2023-10-05 12:16:43 +02:00
if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
return;
2021-08-11 17:36:59 +02:00
}
2023-10-05 12:16:43 +02:00
code.textContent = '✖ Error: An unknown error occurred';
};
xhr.send(null);
});
}
const modalButtons = document.querySelectorAll("[data-modal]");
const openedAsLocalFile = window.location.protocol === 'file:';
if (modalButtons.length > 0 && openedAsLocalFile) {
console.warn(
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
'browsers block XHR requests when a page is opened this way'
);
}
modalButtons.forEach(function (trigger) {
if (openedAsLocalFile) {
trigger.setAttribute("hidden", "hidden");
}
trigger.addEventListener("click", function (event) {
event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
if (!modal) {
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
return;
}
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippet(modal, trigger.dataset.src || null, 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");
});
2021-08-11 17:36:59 +02:00
});
});
});
2023-10-05 12:16:43 +02:00
})();
2021-08-11 17:36:59 +02:00
</script>
</article>
2023-10-05 12:16:43 +02:00
</section>
<section class="phpdocumentor-on-this-page__sidebar">
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/LDC-LDCCRM-Models-Question.html#toc-properties">Properties</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#toc-methods">Methods</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_answers">$answers<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_id">$id<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_question">$question<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_type">$type<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_modelFields">$modelFields<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_validation">$validation<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_answers">$answers<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_id">$id<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_question">$question<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#property_type">$type<a href="classes/LDC-LDCCRM-Models-Question.html"></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method___construct">__construct()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method___get">__get()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method___set">__set()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method_all">all()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers">allWithCustomerAnswers()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method_fill">fill()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize">jsonSerialize()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy">unansweredBy()</a></li>
<li><a href="classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues">validateAllValues()</a></li>
</ul>
</li>
</ul>
</section>
</section>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
2021-08-11 17:36:59 +02:00
<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>
<a href="classes/LDC-LDCCRM-Models-Question.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>