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()
|
|
|
|
{
|
2007-09-18 02:30:55 +04:00
|
|
|
$this->actAs('I18n', array("fields" => array("name", "title")));
|
2007-09-05 00:40:55 +04:00
|
|
|
}
|
|
|
|
}
|