PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
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
← All changes | inc/Filters/QuestionAnswersFilter.php +69 -69 4.3.9.14.4.8 View file →
@@ -1,69 +1,69 @@
1 -<?php
2 -
3 -namespace LearnPress\Filters;
4 -
5 -use LP_Filter;
6 -
7 -defined( 'ABSPATH' ) || exit();
8 -
9 -/**
10 - * Class QuestionAnswersFilter
11 - *
12 - * @author ThimPress
13 - * @package LearnPress/Classes/Filters
14 - * @instead of LP_Question_Answers_Filter
15 - * @since 4.2.9
16 - * @author tungnx
17 - * @version 1.0.1
18 - */
19 -class QuestionAnswersFilter extends FilterBase {
20 - const COL_QUESTION_ANSWER_ID = 'question_answer_id';
21 - const COL_QUESTION_ID = 'question_id';
22 - const COL_TITLE = 'title';
23 - const COL_VALUE = 'value';
24 - const COL_ORDER = 'order';
25 - const COL_IS_TRUE = 'is_true';
26 - /**
27 - * @var string[]
28 - */
29 - public $all_fields = [
30 - self::COL_QUESTION_ANSWER_ID,
31 - self::COL_QUESTION_ID,
32 - self::COL_TITLE,
33 - self::COL_VALUE,
34 - self::COL_ORDER,
35 - self::COL_IS_TRUE,
36 - ];
37 -
38 - public $field_count = 'question_answer_id';
39 - /**
40 - * @var int
41 - */
42 - public $question_answer_id;
43 - /**
44 - * @var int
45 - */
46 - public $question_id;
47 - /**
48 - * @var string
49 - */
50 - public $title;
51 - /**
52 - * @var string
53 - */
54 - public $value;
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 - public $order_by = '`order`';
68 - public $order = 'ASC';
69 -}
1 +<?php
2 +
3 +namespace LearnPress\Filters;
4 +
5 +use LP_Filter;
6 +
7 +defined( 'ABSPATH' ) || exit();
8 +
9 +/**
10 + * Class QuestionAnswersFilter
11 + *
12 + * @author ThimPress
13 + * @package LearnPress/Classes/Filters
14 + * @instead of LP_Question_Answers_Filter
15 + * @since 4.2.9
16 + * @author tungnx
17 + * @version 1.0.1
18 + */
19 +class QuestionAnswersFilter extends FilterBase {
20 + const COL_QUESTION_ANSWER_ID = 'question_answer_id';
21 + const COL_QUESTION_ID = 'question_id';
22 + const COL_TITLE = 'title';
23 + const COL_VALUE = 'value';
24 + const COL_ORDER = 'order';
25 + const COL_IS_TRUE = 'is_true';
26 + /**
27 + * @var string[]
28 + */
29 + public $all_fields = [
30 + self::COL_QUESTION_ANSWER_ID,
31 + self::COL_QUESTION_ID,
32 + self::COL_TITLE,
33 + self::COL_VALUE,
34 + self::COL_ORDER,
35 + self::COL_IS_TRUE,
36 + ];
37 +
38 + public $field_count = 'question_answer_id';
39 + /**
40 + * @var int
41 + */
42 + public $question_answer_id;
43 + /**
44 + * @var int
45 + */
46 + public $question_id;
47 + /**
48 + * @var string
49 + */
50 + public $title;
51 + /**
52 + * @var string
53 + */
54 + public $value;
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 + public $order_by = '`order`';
68 + public $order = 'ASC';
69 +}