mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
parameter cleanup
This commit is contained in:
@@ -228,7 +228,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
|||||||
if (!isset($this->cached)) {
|
if (!isset($this->cached)) {
|
||||||
$this->loadCached();
|
$this->loadCached();
|
||||||
}
|
}
|
||||||
$this->cached->isCached($this, true);
|
$this->cached->isCached($this);
|
||||||
}
|
}
|
||||||
if (!($isCacheTpl) || !$this->cached->valid) {
|
if (!($isCacheTpl) || !$this->cached->valid) {
|
||||||
if ($isCacheTpl) {
|
if ($isCacheTpl) {
|
||||||
@@ -306,7 +306,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
|||||||
echo $content;
|
echo $content;
|
||||||
}
|
}
|
||||||
if ($this->smarty->debugging) {
|
if ($this->smarty->debugging) {
|
||||||
Smarty_Internal_Debug::end_template($this, $display);
|
Smarty_Internal_Debug::end_template($this);
|
||||||
}
|
}
|
||||||
// debug output
|
// debug output
|
||||||
if ($this->smarty->debugging) {
|
if ($this->smarty->debugging) {
|
||||||
@@ -325,7 +325,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
|||||||
$this->config_vars = $save_config_vars;
|
$this->config_vars = $save_config_vars;
|
||||||
}
|
}
|
||||||
if ($this->smarty->debugging) {
|
if ($this->smarty->debugging) {
|
||||||
Smarty_Internal_Debug::end_template($this, $display);
|
Smarty_Internal_Debug::end_template($this);
|
||||||
}
|
}
|
||||||
if ($this->smarty->debugging == 2 and $display === false) {
|
if ($this->smarty->debugging == 2 and $display === false) {
|
||||||
if ($this->smarty->debugging) {
|
if ($this->smarty->debugging) {
|
||||||
@@ -774,7 +774,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
|||||||
{
|
{
|
||||||
Smarty_CacheResource::invalidLoadedCache($this->smarty);
|
Smarty_CacheResource::invalidLoadedCache($this->smarty);
|
||||||
|
|
||||||
return $this->cached->handler->clear($this->smarty, $this->template_name, $this->cache_id, $this->compile_id, $exp_time);
|
return $this->cached->handler->clear($this->smarty, $this->template_resource, $this->cache_id, $this->compile_id, $exp_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -835,6 +835,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
|||||||
* @param string $name unknown method-name
|
* @param string $name unknown method-name
|
||||||
* @param array $args argument array
|
* @param array $args argument array
|
||||||
*
|
*
|
||||||
|
* @return mixed
|
||||||
* @throws SmartyException
|
* @throws SmartyException
|
||||||
*/
|
*/
|
||||||
public function __call($name, $args)
|
public function __call($name, $args)
|
||||||
|
Reference in New Issue
Block a user