1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/LocationI18n.php

16 lines
403 B
PHP

<?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'));
}
}