Skip to content
Snippets Groups Projects
Commit a4fcbbe7 authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

fix errors

parent efc9b4b0
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,13 @@ class ListView
{
protected $title;
protected $objArray;
public $class;
public function __construct($class, $title)
{
$this->title = $title;
$this->objArray = $class::getAll();
$this->class = $class;
}
public function getTitle() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment