| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * Registration page file.
- *
- * Provides a class with all the properties and methods to display the page.
- *
- * @author Iñigo Valentin <i@inigovalentin.com>
- * @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License V3
- * @package SWDB
- */
- require_once(PATH::PAGE . "Page.php");
- /**
- * Registration page model.
- *
- * @category Page
- */
- class Register_Page extends Page{
- /**
- * Constructor.
- *
- * Retrieves the data and initializes the variables.
- */
- public function __construct(){
- parent::__construct();
- $this->set_public(true);
- $this->set_view("register.php");
- $this->set_title("Register");
- $this->set_description("Create an account");
- $this->set_canonical("register/");
- $this->add_css("register.css");
- $this->set_code(200);
- $this->set_message("OK");
- }
- }
|