block.class.php 778 B

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