PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.7
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.7
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 4.2.1 All 138 releases
learnpress / inc / Filters / UserItemsFilter.php

UserItemsFilter.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.7, at inc/Filters/UserItemsFilter.php

114 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace LearnPress\Filters;
4
5 /**
6 * Class UserItemsFilter
7 *
8 * Filter query for learnpress_user_items table
9 *
10 * @since 4.2.9.3
11 * @version 1.0.0
12 */
13 class UserItemsFilter extends FilterBase {
14 const COL_USER_ITEM_ID = 'user_item_id';
15 const COL_USER_ID = 'user_id';
16 const COL_ITEM_ID = 'item_id';
17 const COL_START_TIME = 'start_time';
18 const COL_END_TIME = 'end_time';
19 const COL_ITEM_TYPE = 'item_type';
20 const COL_STATUS = 'status';
21 const COL_GRADUATION = 'graduation';
22 const COL_REF_ID = 'ref_id';
23 const COL_REF_TYPE = 'ref_type';
24 const COL_PARENT_ID = 'parent_id';
25 /**
26 * @var string[] all fields of table
27 */
28 public array $all_fields = [
29 self::COL_USER_ITEM_ID,
30 self::COL_USER_ID,
31 self::COL_ITEM_ID,
32 self::COL_START_TIME,
33 self::COL_END_TIME,
34 self::COL_ITEM_TYPE,
35 self::COL_STATUS,
36 self::COL_GRADUATION,
37 self::COL_REF_ID,
38 self::COL_REF_TYPE,
39 self::COL_PARENT_ID,
40 ];
41 /**
42 * @var int
43 */
44 public $user_item_id;
45 /**
46 * @var int
47 */
48 public $user_id;
49 /**
50 * @var array int
51 */
52 public $user_ids = [];
53 /**
54 * @var int
55 */
56 public $item_id;
57 /**
58 * @var array int
59 */
60 public $item_ids = [];
61 /**
62 * @var string
63 */
64 public $status;
65 /**
66 * @var string[]
67 *
68 * @since 4.2.8.2
69 */
70 public $statues = [];
71 /**
72 * @var string
73 */
74 public $graduation;
75 /**
76 * @var string[]
77 *
78 * @since 4.2.8.2
79 */
80 public $graduations = [];
81 /**
82 * @var string
83 */
84 public $item_type;
85 /**
86 * @var int
87 */
88 public $ref_id;
89 /**
90 * @var string
91 */
92 public $ref_type;
93 /**
94 * @var string
95 */
96 public $start_time;
97 /**
98 * @var string
99 */
100 public $end_time;
101 /**
102 * @var int
103 */
104 public $parent_id;
105 /**
106 * @var int[]
107 */
108 public $user_item_ids = [];
109 /**
110 * @var string
111 */
112 public $field_count = self::COL_USER_ITEM_ID;
113 }
114