33 lines
799 B
PHP
33 lines
799 B
PHP
<?php
|
|
namespace Roblox\Data\Entities;
|
|
|
|
// http://web.archive.org/web/20140610202425id_/http://broom.gametest1.robloxlabs.com/Legacy/DBWireup/SQL.txt
|
|
|
|
abstract class Entity {
|
|
public $ID;
|
|
|
|
function __construct() {
|
|
}
|
|
|
|
function CreateNew(...$params) {
|
|
// Set default properties here
|
|
// Modify properties based on params
|
|
// Call Insert function
|
|
throw new \Exception(__CLASS__ . "->CreateNew() not implemented");
|
|
}
|
|
|
|
function Delete() {
|
|
throw new \Exception(__CLASS__ . "->Delete() not implemented");
|
|
}
|
|
function Insert() {
|
|
throw new \Exception(__CLASS__ . "->Insert() not implemented");
|
|
}
|
|
function Update() {
|
|
throw new \Exception(__CLASS__ . "->Update() not implemented");
|
|
}
|
|
static function Get($id) {
|
|
throw new \Exception(__CLASS__ . "->Get() not implemented");
|
|
}
|
|
}
|
|
|
|
// EOF
|