2007-09-05 00:40:55 +04:00
|
|
|
<?php
|
|
|
|
class I18nTest extends Doctrine_Record
|
|
|
|
{
|
|
|
|
public function setTableDefinition()
|
|
|
|
{
|
|
|
|
$this->hasColumn('name', 'string', 200);
|
|
|
|
$this->hasColumn('title', 'string', 200);
|
|
|
|
}
|
|
|
|
public function setUp()
|
|
|
|
{
|
2008-01-04 21:21:45 +03:00
|
|
|
$this->actAs('I18n', array('fields' => array('name', 'title')));
|
2007-09-05 00:40:55 +04:00
|
|
|
}
|
|
|
|
}
|