mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-01 21:01:37 +01:00
45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|||
|
|
<!-- $Revision$ -->
|
|||
|
|
<sect1 id="variable.global.assign">
|
|||
|
|
<title>$global_assign</title>
|
|||
|
|
<para>
|
|||
|
|
Essa <20> a lista de vari<72>veis que est<73>o sempre implicitamente fixadas
|
|||
|
|
para o template engine. Isso est<73> acess<73>vel para fazer vari<72>veis
|
|||
|
|
globais ou vari<72>veis do servidor dispon<6F>veis para todo o template
|
|||
|
|
sem ter que fix<69>-las manualmente. Cada elemento em
|
|||
|
|
$global_assign deve ser um nome de uma vari<72>vel global,
|
|||
|
|
ou um par de chave/valor, onde a chave <20> o nome do array global
|
|||
|
|
array e o valor <20> o array de vari<72>veis fixadas deste array global. $SCRIPT_NAME <20>
|
|||
|
|
globalmente fixado por padr<64>o
|
|||
|
|
para $HTTP_SERVER_VARS.
|
|||
|
|
</para>
|
|||
|
|
<note>
|
|||
|
|
<title>Notas T<>cnicas</title>
|
|||
|
|
<para>
|
|||
|
|
Vari<72>veis de servidor podem ser acessadas atrav<61>s da vari<72>vel
|
|||
|
|
$smarty, como {$smarty.server.SCRIPT_NAME}. Veja a se<73><65>o
|
|||
|
|
da vari<72>vel
|
|||
|
|
<link linkend="language.variables.smarty">$smarty</link>.
|
|||
|
|
</para>
|
|||
|
|
</note>
|
|||
|
|
</sect1>
|
|||
|
|
<!-- Keep this comment at the end of the file
|
|||
|
|
Local variables:
|
|||
|
|
mode: sgml
|
|||
|
|
sgml-omittag:t
|
|||
|
|
sgml-shorttag:t
|
|||
|
|
sgml-minimize-attributes:nil
|
|||
|
|
sgml-always-quote-attributes:t
|
|||
|
|
sgml-indent-step:1
|
|||
|
|
sgml-indent-data:t
|
|||
|
|
indent-tabs-mode:nil
|
|||
|
|
sgml-parent-document:nil
|
|||
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|||
|
|
sgml-exposed-tags:nil
|
|||
|
|
sgml-local-catalogs:nil
|
|||
|
|
sgml-local-ecat-files:nil
|
|||
|
|
End:
|
|||
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|||
|
|
vim: et tw=78 syn=sgml
|
|||
|
|
vi: ts=1 sw=1
|
|||
|
|
-->
|