Comunitatea PHP Romania
 

 
clear_assign()

clear_assign()

clear_assign() -- clears the value of an assigned variable

Description

void clear_assign ( mixed var)

This can be a single value, or an array of values.

Example 13-1. clear_assign()

<?php
// clear a single variable
$smarty->clear_assign('Name');

// clears multiple variables
$smarty->clear_assign(array('Name''Address''Zip'));
?>

See also clear_all_assign(), clear_config(), get_template_vars(), assign() and append()

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
mihaitha mihaitha
Sibiu
Mascka Mascka
Braila
gabysolomon gabysolomon
Bacau
whooper whooper
Toronto ON
raul_ raul_
dechim dechim
Drobeta Turnu Severin
Amenthes Amenthes

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink San Diego Sports Tickets | Mortgage | PT Cruiser | Property Search | Shares
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis