PluginProbe
Depicter — Popup & Slider Builder / 1.9.2
Depicter — Popup & Slider Builder v1.9.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
← All changes | app/src/DataSources/DataSourceBase.php +4 -21 trunk1.9.2 View file →
@@ -9,9 +9,9 @@
9 9 * DataSource name
10 10 *
11 11 * @var string
12 12 */
13 - protected string $type = 'base';
13 + protected $type = 'base';
14 14
15 15 /**
16 16 * DataSource properties
17 17 *
@@ -16,9 +16,9 @@
16 16 * DataSource properties
17 17 *
18 18 * @var array
19 19 */
20 - protected array $properties = [];
20 + protected $properties = [];
21 21
22 22 /**
23 23 * Default input params for retrieving dataSource records
24 24 *
@@ -23,9 +23,9 @@
23 23 * Default input params for retrieving dataSource records
24 24 *
25 25 * @var array
26 26 */
27 - protected array $defaultInputParams = [];
27 + protected $defaultInputParams = [];
28 28
29 29 /**
30 30 * Asset groups of this DataSource
31 31 *
@@ -30,9 +30,9 @@
30 30 * Asset groups of this DataSource
31 31 *
32 32 * @var array
33 33 */
34 - protected array $assetGroupNames = [];
34 + protected $assetGroupNames = [];
35 35
36 36
37 37 /**
38 38 * Prepares arguments for retrieving dataSource records
@@ -74,23 +74,6 @@
74 74 public function getAssetGroupNames(){
75 75 return $this->assetGroupNames;
76 76 }
77 77
78 - /**
79 - * Get list of asset groups for this dataSource
80 - *
81 - * @param $args
82 - *
83 - * @return array
84 - */
85 - public function getAssets( $args ){
86 - $assetGroupNames = $this->getAssetGroupNames();
87 -
88 - $groups = [];
89 - foreach( $assetGroupNames as $assetGroupName ){
90 - $groups[ $assetGroupName ] = $args;
91 - }
92 -
93 - return \Depicter::dataSource()->tagsManager()->getAssetsInGroups( $groups );
94 - }
95 78
96 79 }