renderer.php 804 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Form to add and edit instance of iAssign.
  4. *
  5. * @author Patricia Alves Rodrigues
  6. * @author Leônidas O. Brandão
  7. * @version v 1.0 2012/10/15
  8. * @package mod_iassign
  9. * @since 2010/09/27
  10. * @copyright iMatica (<a href="http://www.matematica.br">iMath</a>) - Computer Science Dep. of IME-USP (Brazil)
  11. *
  12. * <b>License</b>
  13. * - http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  14. */
  15. /**
  16. * This class renderer the iassign module.
  17. * @see plugin_renderer_base
  18. */
  19. class mod_iassign_renderer extends plugin_renderer_base {
  20. /**
  21. * Renderer iassign files.
  22. * @return string Return an string with a tag html.
  23. */
  24. public function iassign_files ($context, $itemid, $filearea = 'iassign') {
  25. return $this->render(new iassign_files($context, $itemid, $filearea));
  26. }
  27. }