Show
Ignore:
Timestamp:
05/12/08 18:05:35 (8 months ago)
Author:
aarkerio
Message:

Messages to all class

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/models/vclassroom.php

    r474 r477  
    374374  } 
    375375/* 
    376  *  check if studen already found treasure 
     376 *  check if student belongs to class group 
    377377 *  int treasure_id  
    378  *  int user_id       
     378 *  int user_id  
     379 *  int group_id      
    379380 *  int vclassroom_id 
    380381 *  return boolean 
    381382 */ 
    382383 public function belongs($user_id, $vclassroom_id) 
    383  { 
     384 {  
    384385   $conditions =  array("UsersVclassroom.user_id"=>$user_id, "UsersVclassroom.vclassroom_id"=>$vclassroom_id); 
    385386 
     
    392393   endif; 
    393394 } 
    394  
    395395} 
    396396?>