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/Action.php
<?php

class Action extends BaseClass {

	////////////////
	// Properties //
	////////////////

    public $Id;
    public $Title;
    public $Link;
    public $Active;

    public static $_primaryKey = array("Id");
    ////////////////////
    // Public Methods //
    ////////////////////
    public static function Select($Id) {
        return parent::Select($Id);
    }

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

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

    public static function SelectAll($active = ""){
        if($active != ""){
            return parent::SelectObjects("SELECT *
                                          FROM Action
                                          WHERE active = '" . $active . "'");
        }
        else{
            return parent::SelectAll();
        }
    }
}
?>