WPCrmAnswer
in package
Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
Tags
Table of Contents
- setQuestionAnswers() : bool
- Set unanswered question for a specific customer
- getRawProperty() : mixed
- Get a property
Methods
setQuestionAnswers()
Set unanswered question for a specific customer
public
setQuestionAnswers(WPCrmUser $user, int $questionId, array<string|int, mixed> $answersId) : bool
Parameters
- $user : WPCrmUser
- $questionId : int
-
The question id
- $answersId : array<string|int, mixed>
-
An array with answers id
Tags
Return values
bool —true if succeeded
getRawProperty()
Get a property
protected
static getRawProperty(object $object, string $field) : mixed
Parameters
- $object : object
- $field : string