| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /**
- * User profile 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");
- /**
- * User profile page model.
- *
- * @category Page
- */
- class Profile_Page extends Page{
- /**
- * Constructor.
- *
- * Retrieves the data and initializes the variables.
- */
- public function __construct(){
- $this->view = PATH::VIEW . "profile.php";
- $this->title = get_context()->get_user()->get_name() ." - SWDB";
- $this->description = get_context()->get_user()->get_name() . " user profile";
- $this->canonical = URL::BASE . "profile/";
- }
- }
- ?>
|