<?php namespace App\Controllers; class Store extends BaseController { public function index(): string { $products = $this->product ->where('is_active', 1) ->orderBy('id', 'DESC') ->findAll(); return view('store/index', [ 'products' => $products, ]); } }
Web/App Builder
Pilih produk yang ingin kamu pelajari atau gunakan.