| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- require_once($path["page"] . "Page.php");
- /**
- * Home page model.
- */
- class Home_Page extends Page{
- private $max_projects = 3;
- /**
- * Constructor.
- *
- * Retrieves the data and initializes the variables.
- *
- * @param MySQL_connection $db Connection to the database.
- * @param string $lang Lowercase, two-letter language code.
- */
- public function __construct($db){
- global $path;
- global $root;
- parent::__construct($db);
- $this->view = $path["view"] . "home.php";
- $this->title = "SWDB";
- $this->name = "";
- $this->description = "";
- $this->favicon = $path["img"]["layout"] . "logo/logo.svg";
- $this->icon = $path["img"]["layout"] . "logo/logo.svg";
- $this->canonical = $root;
- $this->author = $root;
- }
- }
- ?>
|