block.class.php 795 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. * Contructor
  15. */
  16. public function __construct() {}
  17. /**
  18. * Display small blocks, @todo it will be implemented for next version
  19. */
  20. public function display_small() {}
  21. /**
  22. * Display larges blocks, @todo it will be implemented for next version
  23. */
  24. public function display_large() {}
  25. public function get_block_path(){
  26. $result = get_class($this);
  27. return $result;
  28. }
  29. }
  30. ?>