block.class.php 797 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * This file contains class used parent class for blocks plugins
  5. * @author Christian Fasanando <christian1827@gmail.com>
  6. * @package chamilo.dashboard
  7. */
  8. /**
  9. * Parent class for controller Blocks from dashboard plugin
  10. * @package chamilo.dashboard
  11. */
  12. class Block
  13. {
  14. /**
  15. * Contructor
  16. */
  17. public function __construct()
  18. {
  19. }
  20. /**
  21. * Display small blocks, @todo it will be implemented for next version
  22. */
  23. public function display_small()
  24. {
  25. }
  26. /**
  27. * Display larges blocks, @todo it will be implemented for next version
  28. */
  29. public function display_large()
  30. {
  31. }
  32. public function get_block_path()
  33. {
  34. $result = get_class($this);
  35. return $result;
  36. }
  37. }
  38. ?>