Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F391355
smarty_method_clear_all_assign.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
508 B
Subscribers
None
smarty_method_clear_all_assign.php
View Options
<?php
/**
* Smarty method Clear_All_Assign
*
* Deletes all assigned Smarty variables at current level
*
* @package Smarty
* @subpackage SmartyMethod
* @author Uwe Tews
*/
/**
* Delete Smarty variables
*
* @param object $smarty
* @param object $data_object object which holds tpl_vars
*/
function
Smarty_Method_Clear_All_Assign
(
$smarty
,
$data_object
=
null
)
{
if
(
isset
(
$data_object
))
{
$ptr
=
$data_object
;
}
else
{
$ptr
=
$smarty
;
}
$ptr
->
tpl_vars
=
array
();
}
?>
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Feb 22, 20:23 (23 h, 48 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25902
Default Alt Text
smarty_method_clear_all_assign.php (508 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment