/** Returns the get link for a testcat */ function testcat_get_link_by_id($testcat_id) { $CI =& get_instance(); $testcat = $CI->testCatModel->get_testcat_by_id($testcat_id); return is_admin() ? testcat_get_link($testcat) : testcat_code_name($testcat); }
<th><?php echo lang('boxplot'); ?> </th> <td><?php echo testcat_score_boxplot($testcat->id); ?> </td> </tr> <tr> <th><?php echo lang('parent_testcat'); ?> </th> <td><?php echo testcat_get_link($parent_testcat); ?> </td> </tr> <?php } ?> </table> <!-- Scores --> <?php echo heading(lang('scores'), 3); ?> <div> <?php if ($is_parent) {