block.class.php 753 B

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