WPCrmQuestion
in package
Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
Tags
Table of Contents
- allWithCustomerAnswers() : array<string|int, mixed>
- Get all the questions with user answers
- getAll() : array<string|int, mixed>
- Get all questions only
- unansweredBy() : array<string|int, Question>
- Get unanswered question for a specific customer
Methods
allWithCustomerAnswers()
Get all the questions with user answers
public
static allWithCustomerAnswers(WPCrmUser $user) : array<string|int, mixed>
Parameters
- $user : WPCrmUser
Tags
Return values
array<string|int, mixed> —Of \LDC\LDCCRM\Models\Question and their \LDC\LDCCRM\Models\Answer.
getAll()
Get all questions only
public
static getAll() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —Of \LDC\LDCCRM\Models\Question
unansweredBy()
Get unanswered question for a specific customer
public
static unansweredBy(WPCrmUser $user) : array<string|int, Question>
Parameters
- $user : WPCrmUser