hajtest
Current file: D:\websites\haj\application\models\generated\BasePrices.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 / 62
 
BasePrices
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 2
0.00%0.00%
0.00% 0 / 61
 public function setTableDefinition()
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 55
 public function setUp()
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 5


       1                 : <?php                                                                 
       2                 : // Connection Component Binding                                       
       3               0 : Doctrine_Manager::getInstance()->bindComponent('Prices', 'doctrine'); 
       4                 :                                                                       
       5                 : /**                                                                   
       6                 :  * BasePrices                                                         
       7                 :  *                                                                     
       8                 :  * This class has been auto-generated by the Doctrine ORM Framework   
       9                 :  *                                                                     
      10                 :  * @property integer $id                                              
      11                 :  * @property integer $workshop_id                                     
      12                 :  * @property integer $price                                           
      13                 :  * @property string $desc                                             
      14                 :  * @property string $long_desc                                        
      15                 :  * @property timestamp $last_update                                   
      16                 :  * @property Workshops $Workshops                                     
      17                 :  *                                                                     
      18                 :  * @package    ##PACKAGE##                                            
      19                 :  * @subpackage ##SUBPACKAGE##                                         
      20                 :  * @author     ##NAME## <##EMAIL##>                                   
      21                 :  * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
      22                 :  */                                                                   
      23                 : abstract class BasePrices extends Doctrine_Record                     
      24               0 : {                                                                     
      25                 :     public function setTableDefinition()                              
      26                 :     {                                                                 
      27               0 :         $this->setTableName('prices');                                
      28               0 :         $this->hasColumn('id', 'integer', 4, array(                   
      29               0 :              'type' => 'integer',                                     
      30               0 :              'fixed' => 0,                                            
      31               0 :              'unsigned' => true,                                      
      32               0 :              'primary' => true,                                       
      33               0 :              'autoincrement' => true,                                 
      34               0 :              'length' => '4',                                         
      35               0 :              ));                                                      
      36               0 :         $this->hasColumn('workshop_id', 'integer', 4, array(          
      37               0 :              'type' => 'integer',                                     
      38               0 :              'fixed' => 0,                                            
      39               0 :              'unsigned' => true,                                      
      40               0 :              'primary' => false,                                      
      41               0 :              'notnull' => true,                                       
      42               0 :              'autoincrement' => false,                                
      43               0 :              'length' => '4',                                         
      44               0 :              ));                                                      
      45               0 :         $this->hasColumn('price', 'integer', 4, array(                
      46               0 :              'type' => 'integer',                                     
      47               0 :              'fixed' => 0,                                            
      48               0 :              'unsigned' => false,                                     
      49               0 :              'primary' => false,                                      
      50               0 :              'notnull' => true,                                       
      51               0 :              'autoincrement' => false,                                
      52               0 :              'length' => '4',                                         
      53               0 :              ));                                                      
      54               0 :         $this->hasColumn('desc', 'string', null, array(               
      55               0 :              'type' => 'string',                                      
      56               0 :              'fixed' => 0,                                            
      57               0 :              'unsigned' => false,                                     
      58               0 :              'primary' => false,                                      
      59               0 :              'notnull' => true,                                       
      60               0 :              'autoincrement' => false,                                
      61               0 :              'length' => '',                                          
      62               0 :              ));                                                      
      63               0 :         $this->hasColumn('long_desc', 'string', null, array(          
      64               0 :              'type' => 'string',                                      
      65               0 :              'fixed' => 0,                                            
      66               0 :              'unsigned' => false,                                     
      67               0 :              'primary' => false,                                      
      68               0 :              'notnull' => true,                                       
      69               0 :              'autoincrement' => false,                                
      70               0 :              'length' => '',                                          
      71               0 :              ));                                                      
      72               0 :         $this->hasColumn('last_update', 'timestamp', 25, array(       
      73               0 :              'type' => 'timestamp',                                   
      74               0 :              'fixed' => 0,                                            
      75               0 :              'unsigned' => false,                                     
      76               0 :              'primary' => false,                                      
      77               0 :              'notnull' => true,                                       
      78               0 :              'autoincrement' => false,                                
      79               0 :              'length' => '25',                                        
      80               0 :              ));                                                      
      81               0 :     }                                                                 
      82                 :                                                                       
      83                 :     public function setUp()                                           
      84                 :     {                                                                 
      85               0 :         parent::setUp();                                              
      86               0 :         $this->hasOne('Workshops', array(                             
      87               0 :              'local' => 'workshop_id',                                
      88               0 :              'foreign' => 'id'));                                     
      89               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.