* @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License V3 * @package SWDB */ require_once(PATH::PAGE . "Page.php"); require_once(PATH::ENTITY . "Player.php"); /** * Home page model. * * @category Page */ class Home_Page extends Page{ /** * Constructor. * * Retrieves the data and initializes the variables. */ public function __construct(){ $this->view = PATH::VIEW . "home.php"; $this->title = get_context()->get_player()->get_name() . " - SWDB"; $this->description = get_context()->get_player()->get_name() . " - Summoners War DataBase"; $this->canonical = URL::BASE; } }