Core/Application/Models/model.example.php

17 lines
325 B
PHP
Raw Normal View History

<?php
namespace Model;
use \FuzeWorks\Model;
class Example extends Model{
public function __construct(&$core){
parent::__construct($core);
$this->setType('techfuze/databasemodel', 'DatabaseModel');
$this->fields = array('id', 'key', 'value');
$this->table = 'example';
}
}
?>