1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/LocationI18n.php

16 lines
403 B
PHP
Raw Normal View History

<?php
class LocationI18n extends Doctrine_Record
{
public function setTableDefinition()
{
$this->hasColumn('name', 'string', 50, array());
$this->hasColumn('id', 'integer', 10, array('primary' => true));
$this->hasColumn('culture', 'string', 2);
}
public function setUp()
{
$this->hasOne('Location as Location', array('local' => 'id'));
}
}