46 lines
1.2 KiB
PHP
46 lines
1.2 KiB
PHP
|
<?php
|
||
|
// Connection Component Binding
|
||
|
Doctrine_Manager::getInstance()->bindComponent('Matchmethods', 'graydon');
|
||
|
|
||
|
/**
|
||
|
* BaseMatchmethods
|
||
|
*
|
||
|
* This class has been auto-generated by the Doctrine ORM Framework
|
||
|
*
|
||
|
* @property string $country
|
||
|
* @property string $methods
|
||
|
*
|
||
|
* @package ##PACKAGE##
|
||
|
* @subpackage ##SUBPACKAGE##
|
||
|
* @author ##NAME## <##EMAIL##>
|
||
|
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
|
||
|
*/
|
||
|
abstract class BaseMatchmethods extends Doctrine_Record
|
||
|
{
|
||
|
public function setTableDefinition()
|
||
|
{
|
||
|
$this->setTableName('matchmethods');
|
||
|
$this->hasColumn('country', 'string', 100, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 100,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('methods', 'string', null, array(
|
||
|
'type' => 'string',
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
}
|
||
|
|
||
|
public function setUp()
|
||
|
{
|
||
|
parent::setUp();
|
||
|
|
||
|
}
|
||
|
}
|