Get Smarty

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Check reviews of PHP Web Hosting, compatible with Smarty Templates

Attributi

La maggior parte delle funzioni accetta attributi che specificano o modificano il loro comportamento. Gli attributi delle funzioni Smarty assomigliano agli attributi HTML. I valori statici non hanno bisogno di essere racchiusi fra virgolette, ma è raccomandato farlo per le stringhe. Possono essere usate anche variabili, che non devno essere fra virgolette.

Alcuni attributi richiedono valori booleani (vero o falso). Per specificarli si possono usare i seguenti valori, senza virgolette: true, on, e yes, oppure false, off, e no.

Example 3.3. sintassi per gli attributi delle funzioni


{include file="header.tpl"}

{include file=$includeFile}

{include file=#includeFile#}

{html_select_date display_days=yes}

<select name="company">
{html_options values=$vals selected=$selected output=$output}
</select>

  

Comments
No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Author:
Email: (not shown)
What is 16 plus 14? (Are you human?)

Sponsors [info]

Cheap Website Hosting @hostdone.com
email marketing @ActiveCampaign
broadband deals @BroadbandGenie
Best UK Web Hosting @webhost.uk.net
Reliable UK and US Web Hosting @rshosting.com
Cheap US and UK Web Hosting @infrenion.com
I.T Certification Exams @pass-guaranteed.com
Certification Practice Tests @firsttrycertify.com
Certification Practice Exam Questions @ace-it-certifications.com
Broadband Speed Test @broadbandspeed.co.uk
bulk email software @americaint.com
ASP.NET hosting @aspnethosting.co.uk