criteria.php 416 B

1234567891011121314151617
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Show information about OpenBadge citeria
  5. * @author Angel Fernando Quiroz Campos <angel.quiroz@beeznest.com>
  6. * @package chamilo.badge
  7. */
  8. header('Content-Type: text/plain');
  9. require_once '../inc/global.inc.php';
  10. $skillId = isset($_GET['id']) ? intval($_GET['id']) : 0;
  11. $objSkill = new Skill();
  12. $skill = $objSkill->get($skillId);
  13. echo $skill['criteria'];