2008-05-06 17:41:22 +04:00
|
|
|
<?php
|
2008-05-14 01:20:34 +04:00
|
|
|
class CmsPhonenumber extends Doctrine_Entity
|
2008-05-06 17:41:22 +04:00
|
|
|
{
|
|
|
|
public static function initMetadata($class)
|
|
|
|
{
|
|
|
|
$class->mapColumn('user_id', 'integer', 4);
|
|
|
|
$class->mapColumn('phonenumber', 'string', 50, array('primary' => true));
|
|
|
|
}
|
|
|
|
}
|