2015-02-08 16:29:39 +00:00
|
|
|
<?php
|
|
|
|
|
2015-04-29 15:18:33 +00:00
|
|
|
namespace Model;
|
|
|
|
use \FuzeWorks\Model;
|
|
|
|
|
2015-03-16 12:29:03 +00:00
|
|
|
class Example extends Model{
|
2015-02-08 16:29:39 +00:00
|
|
|
|
|
|
|
public function __construct(&$core){
|
|
|
|
parent::__construct($core);
|
|
|
|
|
2015-03-16 12:29:03 +00:00
|
|
|
$this->setType('techfuze/databasemodel', 'DatabaseModel');
|
2015-02-08 16:29:39 +00:00
|
|
|
$this->fields = array('id', 'key', 'value');
|
|
|
|
$this->table = 'example';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|