PluginProbe
Filter Everything — WordPress & WooCommerce Filters / trunk
Filter Everything — WordPress & WooCommerce Filters vtrunk
1.9.6 1.9.5 1.9.4 1.9.3 1.9.2.2 1.9.2.1 trunk 1.2.1 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.1 1.4.4 1.4.5 1.4.8 1.4.9 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 All 51 releases
filter-everything / src / Entities / DefaultEntity.php

DefaultEntity.php in Filter Everything — WordPress & WooCommerce Filters trunk, at src/Entities/DefaultEntity.php

75 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FilterEverything\Filter;
4
5 if ( ! defined('ABSPATH') ) {
6 exit;
7 }
8
9 class DefaultEntity implements Entity
10 {
11 public $items = [];
12 /**
13 * Declared explicitly: assigned from the outside in
14 * EntityManager::prepareEntitiesToDisplay(); dynamic properties are
15 * deprecated since PHP 8.2.
16 */
17 public $items_sort = [];
18
19 public $filter = [];
20
21 public $entityName = '';
22
23 public function __construct( $postMetaName ){
24 $this->entityName = $postMetaName;
25 }
26
27 function getName()
28 {
29 return $this->entityName;
30 }
31
32 function getAllExistingTerms( $force = false )
33 {
34 // TODO: Implement getAllExistingTerms() method.
35 return array();
36 }
37
38 function addTermsToWpQuery($a, $b)
39 {
40 // TODO: Implement addTermsToWpQuery() method.
41 }
42
43 function populateTermsWithPostIds( $setId, $post_type )
44 {
45 // TODO: Implement populateTermsWithPostIds() method.
46 }
47
48 function getTermId($slug)
49 {
50 // TODO: Implement getTermId() method.
51 return $slug;
52 }
53
54 function setExcludedTerms($excludedTerms, $isInclude)
55 {
56 // TODO: Implement setExcludedTerms() method.
57 }
58
59 public function getTermsForSelect()
60 {
61 // TODO: Implement getTermsForSelect() method.
62 return array();
63 }
64
65 public function getTerms()
66 {
67 // TODO: Implement getTerms() method.
68 return array();
69 }
70
71 public function setPostTypes($postTypes)
72 {
73 // TODO: Implement setPostTypes() method.
74 }
75 }