HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/NVonken/mijneigenlied.com/wwwroot/Core/Domain/Subscriber.php
<?php


class Subscriber extends BaseClass
{

    ////////////////
    // Properties //
    ////////////////
    public $Id;
    public $Firstname;
    public $Lastname;
    public $Email;

    public static $_primaryKey = array("Id");

    ////////////////////
    // Public Methods //
    ////////////////////
    public function __construct()
    {
        parent::__construct();
    }

    public static function Select($id)
    {
        return parent::Select($id);
    }

    public static function SelectAll()
    {
        return parent::SelectAll();
    }

    public static function SelectByEmail($email)
    {
        return reset(parent::SelectObjects("SELECT * FROM Subscriber WHERE Email = '".parent::_db()->escape($email)."'"));
    }

    public function Insert()
    {
        return parent::Insert($this);
    }

    public function Update()
    {
        parent::Update($this);
    }

    public function Delete()
    {
        parent::Delete();
    }
}


?>