You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smarty_internal_parsetree.php 913B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * Smarty Internal Plugin Templateparser Parsetrees
  4. * These are classes to build parsetrees in the template parser
  5. *
  6. * @package Smarty
  7. * @subpackage Compiler
  8. * @author Thue Kristensen
  9. * @author Uwe Tews
  10. */
  11. /**
  12. * @package Smarty
  13. * @subpackage Compiler
  14. * @ignore
  15. */
  16. abstract class Smarty_Internal_ParseTree
  17. {
  18. /**
  19. * Buffer content
  20. *
  21. * @var mixed
  22. */
  23. public $data;
  24. /**
  25. * Subtree array
  26. *
  27. * @var array
  28. */
  29. public $subtrees = array();
  30. /**
  31. * Return buffer
  32. *
  33. * @param \Smarty_Internal_Templateparser $parser
  34. *
  35. * @return string buffer content
  36. */
  37. abstract public function to_smarty_php(Smarty_Internal_Templateparser $parser);
  38. /**
  39. * Template data object destructor
  40. */
  41. public function __destruct()
  42. {
  43. $this->data = null;
  44. $this->subtrees = null;
  45. }
  46. }