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 / Course / CourseSectionItemsFilter.php

CourseSectionItemsFilter.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.7, at inc/Filters/Course/CourseSectionItemsFilter.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
3 namespace LearnPress\Filters\Course;
4
5 use LearnPress\Filters\FilterBase;
6
7 defined( 'ABSPATH' ) || exit();
8
9 /**
10 * Class CourseSectionItemsFilter
11 *
12 * Convert from LP_Section_Items_Filter
13 *
14 * @package LearnPress/Filters/Course
15 * @version 4.3.2
16 */
17 class CourseSectionItemsFilter extends FilterBase {
18 const COL_SECTION_ITEM_ID = 'section_item_id';
19 const COL_SECTION_ID = 'section_id';
20 const COL_ITEM_ID = 'item_id';
21 const COL_ITEM_ORDER = 'item_order';
22 const COL_ITEM_TYPE = 'item_type';
23
24 /**
25 * @var string[] all fields of table
26 */
27 public $all_fields = [
28 self::COL_SECTION_ITEM_ID,
29 self::COL_SECTION_ID,
30 self::COL_ITEM_ID,
31 self::COL_ITEM_ORDER,
32 self::COL_ITEM_TYPE,
33 ];
34
35 /**
36 * @var int
37 */
38 public $section_item_id;
39 /**
40 * @var int
41 */
42 public $section_id;
43 /**
44 * @var int
45 */
46 public $item_id;
47 /**
48 * @var int
49 */
50 public $item_order;
51 /**
52 * @var string
53 */
54 public $item_type;
55 /**
56 * @var int
57 */
58 public $search_title;
59 /**
60 * @var int[]
61 */
62 public $item_ids = [];
63 /**
64 * @var int[]
65 */
66 public $item_not_ids = [];
67 }
68