dashboard
repositories
filestore
activity
search
login
Filippo Bertilotti
/
corso1
corso https://vola.udemy.com/course/php-mvc-from-scratch/learn/lecture/40931984#overview
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
riorganizzazione in cartelle e rinomina controller e model (parte 13)
filippo.bertilotti
2024-05-06
c5472051966de903118cc267518551df113e43c1
[~fbertilotti/corso1.git]
/
src
/
controllers
/
products.php
1
2
3
4
5
6
7
8
9
10
11
12
<?php
class Products {
public function index() {
require "model.php";
$model = new Model;
$products = $model->getData();
require "view.php";
}
}