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