1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/models/I18nTest.php

14 lines
327 B
PHP
Raw Normal View History

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
}
}