hajtest
Current file: D:\websites\haj\application\models\generated\BasePromoRegistered.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 2
0.00%0.00%
0.00% 0 / 38
 
BasePromoRegistered
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 2
0.00%0.00%
0.00% 0 / 37
 public function setTableDefinition()
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 28
 public function setUp()
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 8


       1                 : <?php                                                                         
       2                 : // Connection Component Binding                                               
       3               0 : Doctrine_Manager::getInstance()->bindComponent('PromoRegistered', 'doctrine');
					
       4                 :                                                                               
       5                 : /**                                                                           
       6                 :  * BasePromoRegistered                                                        
       7                 :  *                                                                             
       8                 :  * This class has been auto-generated by the Doctrine ORM Framework           
       9                 :  *                                                                             
      10                 :  * @property integer $registered_id                                           
      11                 :  * @property integer $promo_id                                                
      12                 :  * @property timestamp $last_update                                           
      13                 :  * @property Registered $Registered                                           
      14                 :  * @property PromoCodes $PromoCodes                                           
      15                 :  *                                                                             
      16                 :  * @package    ##PACKAGE##                                                    
      17                 :  * @subpackage ##SUBPACKAGE##                                                 
      18                 :  * @author     ##NAME## <##EMAIL##>                                           
      19                 :  * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $        
      20                 :  */                                                                           
      21                 : abstract class BasePromoRegistered extends Doctrine_Record                    
      22               0 : {                                                                             
      23                 :     public function setTableDefinition()                                      
      24                 :     {                                                                         
      25               0 :         $this->setTableName('promo_registered');                              
      26               0 :         $this->hasColumn('registered_id', 'integer', 4, array(                
      27               0 :              'type' => 'integer',                                             
      28               0 :              'fixed' => 0,                                                    
      29               0 :              'unsigned' => true,                                              
      30               0 :              'primary' => true,                                               
      31               0 :              'autoincrement' => false,                                        
      32               0 :              'length' => '4',                                                 
      33               0 :              ));                                                              
      34               0 :         $this->hasColumn('promo_id', 'integer', 4, array(                     
      35               0 :              'type' => 'integer',                                             
      36               0 :              'fixed' => 0,                                                    
      37               0 :              'unsigned' => true,                                              
      38               0 :              'primary' => true,                                               
      39               0 :              'autoincrement' => false,                                        
      40               0 :              'length' => '4',                                                 
      41               0 :              ));                                                              
      42               0 :         $this->hasColumn('last_update', 'timestamp', 25, array(               
      43               0 :              'type' => 'timestamp',                                           
      44               0 :              'fixed' => 0,                                                    
      45               0 :              'unsigned' => false,                                             
      46               0 :              'primary' => false,                                              
      47               0 :              'default' => '0000-00-00 00:00:00',                              
      48               0 :              'notnull' => true,                                               
      49               0 :              'autoincrement' => false,                                        
      50               0 :              'length' => '25',                                                
      51               0 :              ));                                                              
      52               0 :     }                                                                         
      53                 :                                                                               
      54                 :     public function setUp()                                                   
      55                 :     {                                                                         
      56               0 :         parent::setUp();                                                      
      57               0 :         $this->hasOne('Registered', array(                                    
      58               0 :              'local' => 'registered_id',                                      
      59               0 :              'foreign' => 'id'));                                             
      60                 :                                                                               
      61               0 :         $this->hasOne('PromoCodes', array(                                    
      62               0 :              'local' => 'promo_id',                                           
      63               0 :              'foreign' => 'id'));                                             
      64               0 :     }                                                                         

Generated by PHPUnit 3.4.15 and Xdebug 2.1.0rc1 using PHP 5.3.1 at Mon Jan 17 15:42:18 PST 2011.