- typo fixes
This commit is contained in:
parent
16a2370e27
commit
a8fb6cde01
@ -4,7 +4,7 @@ class User extends Doctrine_Record {
|
|||||||
public function setUp() {
|
public function setUp() {
|
||||||
$this->ownsMany('Phonenumber','Phonenumber.user_id');
|
$this->ownsMany('Phonenumber','Phonenumber.user_id');
|
||||||
}
|
}
|
||||||
public function setTableDefition() {
|
public function setTableDefinition() {
|
||||||
$this->hasColumn('name','string',50);
|
$this->hasColumn('name','string',50);
|
||||||
$this->hasColumn('loginname','string',20);
|
$this->hasColumn('loginname','string',20);
|
||||||
$this->hasColumn('password','string',16);
|
$this->hasColumn('password','string',16);
|
||||||
|
@ -15,7 +15,7 @@ class User extends Doctrine_Record {
|
|||||||
$this->ownsOne('Email','User.email_id');
|
$this->ownsOne('Email','User.email_id');
|
||||||
$this->ownsMany('Phonenumber','Phonenumber.user_id');
|
$this->ownsMany('Phonenumber','Phonenumber.user_id');
|
||||||
}
|
}
|
||||||
public function setTableDefition() {
|
public function setTableDefinition() {
|
||||||
$this->hasColumn('name','string',50);
|
$this->hasColumn('name','string',50);
|
||||||
$this->hasColumn('loginname','string',20);
|
$this->hasColumn('loginname','string',20);
|
||||||
$this->hasColumn('password','string',16);
|
$this->hasColumn('password','string',16);
|
||||||
|
@ -21,7 +21,7 @@ class User extends Doctrine_Record
|
|||||||
{
|
{
|
||||||
$this->hasMany('Phonenumber', 'Phonenumber.user_id', array('onDelete' => 'cascade'));
|
$this->hasMany('Phonenumber', 'Phonenumber.user_id', array('onDelete' => 'cascade'));
|
||||||
}
|
}
|
||||||
public function setTableDefition()
|
public function setTableDefinition()
|
||||||
{
|
{
|
||||||
$this->hasColumn('name', 'string', 50);
|
$this->hasColumn('name', 'string', 50);
|
||||||
$this->hasColumn('loginname', 'string', 20);
|
$this->hasColumn('loginname', 'string', 20);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user