hajtest
Current file: D:\websites\haj\application\models\Registered.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 / 1
0.00%0.00%
0.00% 0 / 8
 
Registered
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 8
 public static function findAllRegisteredForUser($user)
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 7


       1                 : <?php                                                                 
       2                 :                                                                       
       3                 : /**                                                                   
       4                 :  * Registered                                                         
       5                 :  *                                                                     
       6                 :  * This class has been auto-generated by the Doctrine ORM Framework   
       7                 :  *                                                                     
       8                 :  * @package    ##PACKAGE##                                            
       9                 :  * @subpackage ##SUBPACKAGE##                                         
      10                 :  * @author     ##NAME## <##EMAIL##>                                   
      11                 :  * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
      12                 :  */                                                                   
      13                 : class Registered extends BaseRegistered                               
      14               0 : {                                                                     
      15                 :                                                                       
      16                 :     public static function findAllRegisteredForUser($user)            
      17                 :     {                                                                 
      18               0 :         $reg = Doctrine_Core::getTable('Registerd')                   
      19               0 :                         ->createQuery()                               
      20               0 :                         ->where('user_id = ?', $user)                 
      21               0 :                         ->execute();                                  
      22               0 :         $workshops = Doctrine::getTable('Workshops')                  
      23               0 :                         ->findByDql("id = $reg->workshop_id");        
      24               0 :         return $workshops;                                            
      25                 :     }                                                                 
      26                 :                                                                       

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.