2015-08-17 21:52:32 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Smarty Method GetDebugTemplate
|
|
|
|
*
|
|
|
|
* Smarty::getDebugTemplate() method
|
|
|
|
*
|
|
|
|
* @package Smarty
|
|
|
|
* @subpackage PluginsInternal
|
|
|
|
* @author Uwe Tews
|
|
|
|
*/
|
|
|
|
class Smarty_Internal_Method_GetDebugTemplate
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Valid for Smarty and template object
|
|
|
|
*
|
|
|
|
* @var int
|
|
|
|
*/
|
|
|
|
public $objMap = 3;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* return name of debugging template
|
|
|
|
*
|
|
|
|
* @api Smarty::getDebugTemplate()
|
2016-02-09 01:27:15 +01:00
|
|
|
*
|
2015-08-17 21:52:32 +02:00
|
|
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getDebugTemplate(Smarty_Internal_TemplateBase $obj)
|
|
|
|
{
|
2016-09-11 04:35:52 +02:00
|
|
|
$smarty = $obj->_getSmartyObj();
|
2015-08-17 21:52:32 +02:00
|
|
|
return $smarty->debug_tpl;
|
|
|
|
}
|
2018-06-12 09:58:15 +02:00
|
|
|
}
|