Part II. Smarty para Designers de Template
Prev
Next
Part II. Smarty para Designers de Template
Table of Contents
3. Sintaxe Básica
Comentários
Funções
Atributos
Colocando Variáveis em Aspas Duplas
Matemática
Escapando da interpretação do Smarty
4. Variáveis
Variáveis definidas do PHP
Associative arrays
Índices de Matrizes
Objetos
Variáveis carregadas de arquivos de configuração
A variável reservada {$smarty}
Variáveis Request
{$smarty.now}
{$smarty.const}
{$smarty.capture}
{$smarty.config}
{$smarty.section}, {$smarty.foreach}
{$smarty.template}
{$smarty.ldelim}
{$smarty.rdelim}
5. Modificadores de variáveis
capitalize
count_characters
cat
count_paragraphs
count_sentences
count_words
date_format
default
escape
indent
lower
nl2br
regex_replace
replace
spacify
string_format
strip
strip_tags
truncate
upper
wordwrap
6. Combinando Modificadores
7. Funções internas
capture
config_load
foreach,foreachelse
iteration
first
last
show
total
include
include_php
insert
if,elseif,else
ldelim,rdelim
literal
php
section,sectionelse
index
index_prev
index_next
iteration
first
last
rownum
loop
show
total
strip
8. Funções Personalizadas
assign
counter
cycle
debug
eval
fetch
html_checkboxes
html_image
html_options
html_radios
html_select_date
html_select_time
html_table
math
mailto
popup_init
popup
textformat
9. Arquivos de Configuração
10. Debugging Console