sfWebDebugPanel.class.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /*
  3. * This file is part of the symfony package.
  4. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. /**
  10. * sfWebDebugPanel represents a web debug panel.
  11. *
  12. * @package symfony
  13. * @subpackage debug
  14. * @author Fabien Potencier <fabien.potencier@symfony-project.com>
  15. * @version SVN: $Id: sfWebDebugPanel.class.php 11164 2008-08-26 19:55:02Z fabien $
  16. */
  17. abstract class sfWebDebugPanel
  18. {
  19. protected
  20. $webDebug = null;
  21. /**
  22. * Constructor.
  23. *
  24. * @param sfWebDebug $webDebug The web debut toolbar instance
  25. */
  26. public function __construct(sfWebDebug $webDebug)
  27. {
  28. $this->webDebug = $webDebug;
  29. }
  30. /**
  31. * Gets the link URL for the link.
  32. *
  33. * @return string The URL link
  34. */
  35. public function getTitleUrl()
  36. {
  37. }
  38. /**
  39. * Gets the text for the link.
  40. *
  41. * @return string The link text
  42. */
  43. abstract public function getTitle();
  44. /**
  45. * Gets the title of the panel.
  46. *
  47. * @return string The panel title
  48. */
  49. abstract public function getPanelTitle();
  50. /**
  51. * Gets the panel HTML content.
  52. *
  53. * @return string The panel HTML content
  54. */
  55. abstract public function getPanelContent();
  56. }