 <?php

    require_once($path["page"] . "Page.php");


    /**
     * Main reports page.
     */
    class Report_Page extends Page{

        /**
         * Constructor.
         *
         * Retrieves the data and initializes the variables.
         *
         * @param SQLite3 $db Connection to the database.
         */
        public function __construct($db){
            global $path;
            global $root;
            parent::__construct($db);
            $this->view = $path["view"] . "report.php";
            $this->title = "Reports - SWDB";
            $this->description = "Usefull reports for summoners";
            $this->canonical = $root . "report";
        }
    }
?>
