Report_Page.php 691 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. require_once($path["page"] . "Page.php");
  3. /**
  4. * Main reports page.
  5. */
  6. class Report_Page extends Page{
  7. /**
  8. * Constructor.
  9. *
  10. * Retrieves the data and initializes the variables.
  11. *
  12. * @param SQLite3 $db Connection to the database.
  13. */
  14. public function __construct($db){
  15. global $path;
  16. global $root;
  17. parent::__construct($db);
  18. $this->view = $path["view"] . "report.php";
  19. $this->title = "Reports - SWDB";
  20. $this->description = "Usefull reports for summoners";
  21. $this->canonical = $root . "report";
  22. }
  23. }
  24. ?>