Runes_Page.php 675 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. require_once($path["page"] . "Page.php");
  3. /**
  4. * Runes page model.
  5. */
  6. class Runes_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"] . "runes.php";
  19. $this->title = "Runes - SWDB";
  20. $this->description = "Collection of runes";
  21. $this->canonical = $root . "runes/";
  22. }
  23. }
  24. ?>