PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.5
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.5
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / inc / Filters / class-lp-question-answers-filter.php

class-lp-question-answers-filter.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.5, at inc/Filters/class-lp-question-answers-filter.php

68 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined( 'ABSPATH' ) || exit();
3
4 /**
5 * Class LP_Quiz_Questions_Filter
6 *
7 * @author ThimPress
8 * @package LearnPress/Classes/Filters
9 * @since 4.1.6
10 * @author tungnx
11 * @version 1.0.2
12 */
13 class LP_Question_Answers_Filter extends LP_Filter {
14 const COL_QUESTION_ANSWER_ID = 'question_answer_id';
15 const COL_QUESTION_ID = 'question_id';
16 const COL_TITLE = 'title';
17 const COL_VALUE = 'value';
18 const COL_ORDER = 'order';
19 const COL_IS_TRUE = 'is_true';
20 /**
21 * @var string[]
22 */
23 public $all_fields = [
24 self::COL_QUESTION_ANSWER_ID,
25 self::COL_QUESTION_ID,
26 self::COL_TITLE,
27 self::COL_VALUE,
28 self::COL_ORDER,
29 self::COL_IS_TRUE,
30 ];
31 /**
32 * @var string
33 */
34 public $field_count = 'question_answer_id';
35 /**
36 * @var int
37 */
38 public $question_answer_id;
39 /**
40 * @var int
41 */
42 public $question_id;
43 /**
44 * @var string
45 */
46 public $title;
47 /**
48 * @var string
49 */
50 public $value;
51 /**
52 * @var int
53 */
54 public $order;
55 /**
56 * @var string
57 */
58 public $is_true;
59 /**
60 * @var int[]
61 */
62 public $question_answer_ids = [];
63 /**
64 * @var int[]
65 */
66 public $question_ids = [];
67 }
68