htdocs/class/smarty/Smarty.class.php 1 location
|
@@ 1788-1795 (lines=8) @@
|
| 1785 |
|
* @param string $compile_id |
| 1786 |
|
* @return string|null |
| 1787 |
|
*/ |
| 1788 |
|
function _get_auto_id($cache_id=null, $compile_id=null) { |
| 1789 |
|
if (isset($cache_id)) |
| 1790 |
|
return (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; |
| 1791 |
|
elseif(isset($compile_id)) |
| 1792 |
|
return $compile_id; |
| 1793 |
|
else |
| 1794 |
|
return null; |
| 1795 |
|
} |
| 1796 |
|
|
| 1797 |
|
/** |
| 1798 |
|
* trigger Smarty plugin error |
htdocs/class/template.php 1 location
|
@@ 123-132 (lines=10) @@
|
| 120 |
|
* @param string $compile_id |
| 121 |
|
* @return string |null |
| 122 |
|
*/ |
| 123 |
|
public function _get_auto_id($cache_id = null, $compile_id = null) |
| 124 |
|
{ |
| 125 |
|
if (isset($cache_id)) { |
| 126 |
|
return isset($compile_id) ? $compile_id . '-' . $cache_id : $cache_id; |
| 127 |
|
} elseif (isset($compile_id)) { |
| 128 |
|
return $compile_id; |
| 129 |
|
} else { |
| 130 |
|
return null; |
| 131 |
|
} |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
/** |
| 135 |
|
* XoopsTpl::setCompileId() |