This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
dogstats/web/pages/home/controller.php

21 lines
421 B
PHP
Raw Normal View History

2023-10-18 22:42:01 +02:00
<?php
class Home extends Page
{
function setMenu()
{
2023-10-22 01:46:22 +02:00
$this->menu_text = 'Home';
$this->menu_image = 'far fa-home';
2023-10-18 22:42:01 +02:00
$this->menu_priority = 0;
}
function index()
{
2023-10-22 01:46:22 +02:00
$u = new User();
$this->set('userdata', $u->getAll());
2023-10-21 17:06:20 +02:00
$this->set('template', "home.html");
2023-10-22 01:46:22 +02:00
//return $this->renderPagecontent();
2023-10-18 22:42:01 +02:00
}
function maySeeThisPage(){return true;}
}