* @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License V3 * @package SWDB */ require_once(PATH::PAGE . "Page.php"); /** * Main reports page model. * * @category Page */ class Report_Page extends Page{ /** * Constructor. * * Retrieves the data and initializes the variables. * */ public function __construct(){ parent::__construct(); $this->set_public(false); $this->set_view("report.php"); $this->set_title("Reports"); $this->set_description("Reports for summoners"); $this->set_canonical(get_context()->get_player()->get_id() . "/report/"); $this->add_css("report.css"); $this->set_code(200); $this->set_message("OK"); } }