Resources data
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user