<?php
    /**
     * Landing (login) page file.
     *
     * Provides a class with all the properties and methods to display the page.
     *
     * @category Page
     */

    /**
     * Require dependent files if not present.
     */
    require_once(PATH::PAGE . "Page.php");

    /**
     * Landing (login) page model.
     *
     * @category Page
     */
    class Landing_Page extends Page{

        /**
         * Constructor.
         *
         * Retrieves the data and initializes the variables.
         *
         * @param resource $db Connection to the database. Can be null.
         */
        public function __construct($db){
            parent::__construct($db);
            $this->view = PATH::VIEW . "landing.php";
            $this->title = "Login - SWDB";
            $this->description = "Login to SWDB";
            $this->canonical = URL::BASE . "landing/";
        }
    }
?>

