Ejemplo n.º 1
0
 public static function getById($testTypeId)
 {
     # Returns global test type record in DB
     $saved_db = DbUtil::switchToGlobal();
     $query_string = "SELECT * FROM test_mapping WHERE test_id={$testTypeId} LIMIT 1";
     $record = query_associative_one($query_string);
     return TestTypeMapping::getObject($record);
 }