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.

smartycompilerexception.php 771B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Smarty compiler exception class
  4. *
  5. * @package Smarty
  6. */
  7. class SmartyCompilerException extends SmartyException
  8. {
  9. /**
  10. * @return string
  11. */
  12. public function __toString()
  13. {
  14. return ' --> Smarty Compiler: ' . $this->message . ' <-- ';
  15. }
  16. /**
  17. * The line number of the template error
  18. *
  19. * @type int|null
  20. */
  21. public $line = null;
  22. /**
  23. * The template source snippet relating to the error
  24. *
  25. * @type string|null
  26. */
  27. public $source = null;
  28. /**
  29. * The raw text of the error message
  30. *
  31. * @type string|null
  32. */
  33. public $desc = null;
  34. /**
  35. * The resource identifier or template name
  36. *
  37. * @type string|null
  38. */
  39. public $template = null;
  40. }