1
0
mirror of synced 2024-12-13 14:56:01 +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'));
}
}