Resources data

This commit is contained in:
CHIEFSOFT\ameye
2023-06-28 11:48:19 -04:00
parent 4b525e6602
commit 4b5596a540
3 changed files with 44 additions and 4 deletions
+42 -1
View File
@@ -31,7 +31,7 @@ class WrenchResources extends BaseController
}
public function website(){
log_message('critical', "WrenchResources-> " );
$res1['tab_categories'] = $this->CategoryData();
$res1['marketdata'] = $this->MarketData();
$res1['productdata'] = $this->ProductData();
$res1['collectiondata'] = $this->CollectionData();
@@ -43,6 +43,47 @@ class WrenchResources extends BaseController
}
private function CategoryData(){
$arrayVar = [
"data" => [
[
"id" => "1",
"name" => "onsale",
"content" => "On Sale",
],
[
"id" => "2",
"name" => "owned",
"content" => "Owned",
],
[
"id" => "3",
"name" => "created",
"content" => "Created",
],
[
"id" => "4",
"name" => "hidden",
"content" => "Hidden",
],
[
"id" => "5",
"name" => "collection",
"content" => "Collection",
],
[
"id" => "6",
"name" => "activity",
"content" => "Activity",
],
]
];
return $arrayVar;
}
private function CollectionData(){
$arrayVar = [