* it seems that I forgot to change the name of the name property in the abstract...
[vsc.git] / _tests / models / fixtures / dummytable.class.php
blob83b4051b835595861e333f54c6c7316eeb449741
1 <?php
2 usingPackage ('models/foo');
3 usingPackage ('models/foo/fields');
5 class dummyTable extends fooEntityA {
6 protected $name = 'dummy';
8 public function __construct () {
9 $this->id = new fooFieldInteger('id');
10 $this->id->setAutoIncrement (true);
12 $this->payload = new fooFieldVarChar ('payload');
13 $this->timestamp = new fooFieldDateTime ('ts');
15 $this->setPayload(2); // this is used later in the testGetter - if you modify here, modify the fooEntityTest
17 $this->setPrimaryKey ($this->id);